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)
commit6a8a58acfe82a49e91a3c3e1c1c07865024b4ff4
treed907cf3831d8441d290467c2697912e1afc4969f
parent13138ab2dacd0076a93f74b49ea8fe806e49c3f5
drm/imx/dcss: fix compilation issue on 32bit

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