Skip to contentSkip to conversation

soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS

PATCH Applied [email protected] 2 participants 2 messages Dec 10, 2020 – Dec 22, 2020 Arm MediaTek

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS

From: Enric Balletbo i Serra <[email protected]>

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()")

---

 drivers/soc/mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/mediatek/Kconfig +1 -0
index 851121d83f14..fdd8bc08569e 100644
@@ -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).
Signature · 1 line
2.29.2
#1 lore raw
This patch was applied to soc/soc.git (refs/heads/for-next):

Hello:

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

Quoted 5 lines · On Thu, 10 Dec 2020 12:51:24 +0100 you wrote:

From: Enric Balletbo i Serra <[email protected]>

Because mtk-mmsys uses the 'devm_platform_ioremap_resource' function, it should depend on HAS_IOMEM.

Quoted 7 lines
Fixes cc6576029aed ("soc: mediatek: mmsys: Use devm_platform_ioremap_resource()")

[...]

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