soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 10 Dec 2020 11:51:24 +0000 (12:51 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2020 14:33:56 +0000 (15:33 +0100)
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>
drivers/soc/mediatek/Kconfig

index 851121d83f141292a252c6b2e1628458d3cbfca9..fdd8bc08569ebe6d0284c565fdb98cf4b8c6b2aa 100644 (file)
@@ -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).