Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Enric Balletbo i Serra and committed by
Arnd Bergmann
1dcdee6e 19cf6e6d

+1
+1
drivers/soc/mediatek/Kconfig
··· 68 68 config MTK_MMSYS 69 69 bool "MediaTek MMSYS Support" 70 70 default ARCH_MEDIATEK 71 + depends on HAS_IOMEM 71 72 help 72 73 Say yes here to add support for the MediaTek Multimedia 73 74 Subsystem (MMSYS).