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

Signed-off-by: Sascha Hauer <[email protected]>
---
 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
        help
          This enables PWM support for Intel/Marvell PXA chips, such
          as the PXA25x, PXA27x.
-- 
1.7.10


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to