The recent attempt to make the MediaTek DRM driver build for non-ARM
compile tests made the driver unbuildable for arm64 platforms. Since
this is used on both ARM and arm64 platforms, just drop the dependency
on ARM.

Fixes: d2db0b8fd70b ("drm/mediatek: Allow build with COMPILE_TEST=y")
Signed-off-by: Chen-Yu Tsai <[email protected]>
---
It looks like the culprit commit was merged through the drm-misc tree.
So please merge this on top ASAP.

 drivers/gpu/drm/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig
index 2e0e7c4079b6..f496e6cfdfe0 100644
--- a/drivers/gpu/drm/mediatek/Kconfig
+++ b/drivers/gpu/drm/mediatek/Kconfig
@@ -2,7 +2,7 @@
 config DRM_MEDIATEK
        tristate "DRM Support for Mediatek SoCs"
        depends on DRM
-       depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
+       depends on ARCH_MEDIATEK || COMPILE_TEST
        depends on COMMON_CLK
        depends on HAVE_ARM_SMCCC || COMPILE_TEST
        depends on OF
-- 
2.47.0.163.g1226f6d8fa-goog

Reply via email to