From: Peter Robinson Date: Mon, 9 Oct 2023 13:58:18 +0000 (+0100) Subject: power: reset: brcmstb: Depend on actual SoC dependencies X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3c693ac29e3fb4e1d88652e633a9dc16e1dd76e4;p=linux.git power: reset: brcmstb: Depend on actual SoC dependencies 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 Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org Acked-by: Florian Fainelli Link: https://lore.kernel.org/r/20231009135833.17880-3-pbrobinson@gmail.com Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 59e1ebb7842e5..b9733fa402767 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -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