drm/mediatek: Fix Kconfig warning
authorYueHaibing <yuehaibing@huawei.com>
Wed, 29 Apr 2020 07:13:37 +0000 (15:13 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sat, 27 Jun 2020 00:58:21 +0000 (08:58 +0800)
commitc79484f68b164a4b59c85b7a5008455ddd7af6fb
treeb1cab07ec6fe60ae47c46315f36971706b4e5f80
parenta11398ef87ae38e008c69bea143513e9a36a6577
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: 2c758e301ed9 ("soc / drm: mediatek: Move routing control to mmsys device")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/Kconfig