Skip to content

Commit c79484f

Browse files
YueHaibingChun-Kuang Hu
authored andcommitted
drm/mediatek: Fix Kconfig warning
WARNING: unmet direct dependencies detected for MTK_MMSYS Depends on [n]: (ARCH_MEDIATEK [=y] || COMPILE_TEST [=n]) && COMMON_CLK_MT8173_MMSYS [=n] Selected by [y]: - DRM_MEDIATEK [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_MEDIATEK [=y] || ARM && COMPILE_TEST [=n]) && COMMON_CLK [=y] && HAVE_ARM_SMCCC [=y] && OF [=y] Make DRM_MEDIATEK depend on MTK_MMSYS to fix this. Fixes: 2c758e3 ("soc / drm: mediatek: Move routing control to mmsys device") Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent a11398e commit c79484f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/mediatek/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ config DRM_MEDIATEK
66
depends on COMMON_CLK
77
depends on HAVE_ARM_SMCCC
88
depends on OF
9+
depends on MTK_MMSYS
910
select DRM_GEM_CMA_HELPER
1011
select DRM_KMS_HELPER
1112
select DRM_MIPI_DSI
1213
select DRM_PANEL
1314
select MEMORY
14-
select MTK_MMSYS
1515
select MTK_SMI
1616
select VIDEOMODE_HELPERS
1717
help

0 commit comments

Comments
 (0)