power: reset: brcmstb: Depend on actual SoC dependencies
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 9 Oct 2023 13:58:18 +0000 (14:58 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 13 Oct 2023 00:33:00 +0000 (02:33 +0200)
Depend on the explicit SoC defines rather than generic
architectures like most of the rest of the HW drivers do.
This makes the drivers only available for the HW and for
compile testing.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20231009135833.17880-3-pbrobinson@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/Kconfig

index 59e1ebb7842e5e4ee6daa01cfd9cc99f845658d5..b9733fa4027676625627634e225fbdaf81338eeb 100644 (file)
@@ -66,7 +66,7 @@ config POWER_RESET_BRCMKONA
 
 config POWER_RESET_BRCMSTB
        bool "Broadcom STB reset driver"
-       depends on ARM || ARM64 || MIPS || COMPILE_TEST
+       depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
        depends on MFD_SYSCON
        default ARCH_BRCMSTB || BMIPS_GENERIC
        help