aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <[email protected]>2020-12-10 12:51:24 +0100
committerArnd Bergmann <[email protected]>2020-12-10 15:33:56 +0100
commit1dcdee6ee8f8fdfef5932699129d442d2f1a064d (patch)
tree5c1de6fd2c767c05d043a8a069c2d2e85fa24b4d
parent19cf6e6d402a7732d39570afcdd3b8a0a66df652 (diff)
soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS
Because mtk-mmsys uses the 'devm_platform_ioremap_resource' function, it should depend on HAS_IOMEM. Fixes: cc6576029aed ("soc: mediatek: mmsys: Use devm_platform_ioremap_resource()") Reported-by: kernel test robot <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]> Signed-off-by: Matthias Brugger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
-rw-r--r--drivers/soc/mediatek/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index 851121d83f14..fdd8bc08569e 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -68,6 +68,7 @@ config MTK_SCPSYS_PM_DOMAINS
config MTK_MMSYS
bool "MediaTek MMSYS Support"
default ARCH_MEDIATEK
+ depends on HAS_IOMEM
help
Say yes here to add support for the MediaTek Multimedia
Subsystem (MMSYS).