diff mbox series

[2/3] power: reset: brcmstb: Depend on actual SoC dependencies

Message ID 20231009135833.17880-3-pbrobinson@gmail.com (mailing list archive)
State New, archived
Headers show
Series Cleanup some BRCMSTB Kconfig options | expand

Commit Message

Peter Robinson Oct. 9, 2023, 1:58 p.m. UTC
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
---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli Oct. 9, 2023, 5:58 p.m. UTC | #1
On 10/9/23 06:58, Peter Robinson wrote:
> 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>
diff mbox series

Patch

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 411e00b255d6..fece990af4a7 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