summaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek/Kconfig
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-12-10 12:51:24 +0100
committerArnd Bergmann <arnd@arndb.de>2020-12-10 15:33:56 +0100
commit1dcdee6ee8f8fdfef5932699129d442d2f1a064d (patch)
tree5c1de6fd2c767c05d043a8a069c2d2e85fa24b4d /drivers/soc/mediatek/Kconfig
parentMerge tag 'samsung-drivers-5.11-2' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadlinux-1dcdee6ee8f8fdfef5932699129d442d2f1a064d.tar.xz
linux-1dcdee6ee8f8fdfef5932699129d442d2f1a064d.zip
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 <lkp@intel.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Link: https://lore.kernel.org/r/20201203121447.3366406-1-enric.balletbo@collabora.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/mediatek/Kconfig')
-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).