[PATCH] soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS

matthias.bgg at kernel.org matthias.bgg at kernel.org
Thu Dec 10 06:51:24 EST 2020


From: Enric Balletbo i Serra <enric.balletbo at collabora.com>

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 at intel.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo at collabora.com>
Link: https://lore.kernel.org/r/20201203121447.3366406-1-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>

---

 drivers/soc/mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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).
-- 
2.29.2




More information about the linux-arm-kernel mailing list