diff mbox series

reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC

Message ID 6d8116a56186fbf468229e823c7c8dfcd9488959.1719316665.git.geert+renesas@glider.be (mailing list archive)
State New
Headers show
Series reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC | expand

Commit Message

Geert Uytterhoeven June 25, 2024, 11:57 a.m. UTC
The i.MX8MP AudioMix reset controller is only present on Freescale i.MX8
SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the user
about this driver when configuring a kernel without i.MX SoC support.

Fixes: fe125601d17cc1ea ("reset: imx8mp-audiomix: Add AudioMix Block Control reset driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Philipp Zabel June 25, 2024, 12:11 p.m. UTC | #1
On Di, 2024-06-25 at 13:57 +0200, Geert Uytterhoeven wrote:
> The i.MX8MP AudioMix reset controller is only present on Freescale i.MX8
> SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the user
> about this driver when configuring a kernel without i.MX SoC support.
> 
> Fixes: fe125601d17cc1ea ("reset: imx8mp-audiomix: Add AudioMix Block Control reset driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp
diff mbox series

Patch

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e59da17ea0b2d620..36cfdb81cd345f94 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -93,6 +93,7 @@  config RESET_IMX7
 
 config RESET_IMX8MP_AUDIOMIX
 	tristate "i.MX8MP AudioMix Reset Driver"
+	depends on ARCH_MXC || COMPILE_TEST
 	select AUXILIARY_BUS
 	default CLK_IMX8MP
 	help