[PATCH 11/30] pwm PXA: Compile only on PXA

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 5 15:36:41 EDT 2012

The PXA PWM driver does not compile on any other architecture, so
depend on PXA.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
 drivers/pwm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 50c956a..fc08363 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -11,6 +11,7 @@ if PWM
 config PWM_PXA
 	bool "PXA PWM Support"
 	default y if ARCH_PXA2XX
+	depends on ARCH_PXA2XX
 	  This enables PWM support for Intel/Marvell PXA chips, such
 	  as the PXA25x, PXA27x.

More information about the barebox mailing list