diff mbox series

soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS

Message ID 20201210115124.1285-1-matthias.bgg@kernel.org (mailing list archive)
State Accepted
Commit ae66f0987b9818cde802256a9dcb6c35d0d48b1c
Headers show
Series soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS | expand

Commit Message

Matthias Brugger Dec. 10, 2020, 11:51 a.m. UTC
From: Enric Balletbo i Serra <enric.balletbo@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@intel.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201203121447.3366406-1-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

---

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

Comments

patchwork-bot+linux-soc@kernel.org Dec. 22, 2020, 5 p.m. UTC | #1
Hello:

This patch was applied to soc/soc.git (refs/heads/for-next):

On Thu, 10 Dec 2020 12:51:24 +0100 you wrote:
> From: Enric Balletbo i Serra <enric.balletbo@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@intel.com>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
> Link: https://lore.kernel.org/r/20201203121447.3366406-1-enric.balletbo@collabora.com
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
> 
> [...]

Here is the summary with links:
  - soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS
    https://git.kernel.org/soc/soc/c/ae66f0987b98

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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