drm/imx/dcss: fix compilation issue on 32bit
authorLaurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Thu, 10 Sep 2020 09:52:50 +0000 (12:52 +0300)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 10 Sep 2020 10:09:54 +0000 (12:09 +0200)
When compiling for 32bit platforms, the compilation fails with:

ERROR: modpost: "__aeabi_ldivmod"
[drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined!
ERROR: modpost: "__aeabi_uldivmod"
[drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined!

This patch adds a dependency on ARM64 since no 32bit SoCs have DCSS, so far.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reported-by: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200910095250.7663-1-laurentiu.palcu@oss.nxp.com
drivers/gpu/drm/imx/dcss/Kconfig

index 69860de..2b17a96 100644 (file)
@@ -3,7 +3,7 @@ config DRM_IMX_DCSS
        select IMX_IRQSTEER
        select DRM_KMS_CMA_HELPER
        select VIDEOMODE_HELPERS
-       depends on DRM && ARCH_MXC
+       depends on DRM && ARCH_MXC && ARM64
        help
          Choose this if you have a NXP i.MX8MQ based system and want to use the
          Display Controller Subsystem. This option enables DCSS support.