]> Git Repo - linux.git/commitdiff
soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS
authorEnric Balletbo i Serra <[email protected]>
Thu, 10 Dec 2020 11:51:24 +0000 (12:51 +0100)
committerArnd Bergmann <[email protected]>
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 <[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]>
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).
This page took 0.063013 seconds and 4 git commands to generate.