Skip to contentSkip to conversation

pwm: lpss: make it buildable only on X86

PATCH Applied Andy Shevchenko 2 participants 2 messages Aug 25, 2014 PWM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pwm: lpss: make it buildable only on X86

There is no sign of this IP block on non-x86 architectures and rather will not be. Thus, make this explicit by applying a direct dependency to X86.

---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/Kconfig +1 -0
index 0907416..3865dfb 100644
@@ -150,6 +150,7 @@ config PWM_LPC32XX
 
 config PWM_LPSS
 	tristate "Intel LPSS PWM support"
+	depends on X86
 	help
 	  Generic PWM framework driver for Intel Low Power Subsystem PWM
 	  controller.
Signature · 1 line
2.1.0
#1 lore raw
Quoted 13 lines · Andy Shevchenko

There is no sign of this IP block on non-x86 architectures and rather will not be. Thus, make this explicit by applying a direct dependency to X86.

---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/Kconfig +0 -0
index 0907416..3865dfb 100644

drivers/pwm/Kconfig config PWM_LPC32XX · line 156

Quoted 7 lines
drivers/pwm/Kconfig +1 -0
@@ -150,6 +150,7 @@ config PWM_LPC32XX
 
 config PWM_LPSS
 	tristate "Intel LPSS PWM support"
+	depends on X86
 	help
 	  Generic PWM framework driver for Intel Low Power Subsystem PWM
 	  controller.

Applied, thanks.

Thierry