]> Git Repo - J-linux.git/commitdiff
reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC
authorGeert Uytterhoeven <[email protected]>
Tue, 25 Jun 2024 11:57:48 +0000 (13:57 +0200)
committerPhilipp Zabel <[email protected]>
Tue, 25 Jun 2024 12:28:11 +0000 (14:28 +0200)
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 <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/6d8116a56186fbf468229e823c7c8dfcd9488959.1719316665.git.geert+renesas@glider.be
Signed-off-by: Philipp Zabel <[email protected]>
drivers/reset/Kconfig

index e59da17ea0b2d6209ca2ce3e13b13f07c969d30b..36cfdb81cd345f947dbbb9fdcd4bd53229aee12d 100644 (file)
@@ -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
This page took 0.05397 seconds and 4 git commands to generate.