Skip to contentSkip to conversation

leds: leds-pwm: make it depend on PWM and not HAVE_PWM

PATCH In review Peter Ujfalusi 2 participants 2 messages Jan 23, 2013 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: leds-pwm: make it depend on PWM and not HAVE_PWM

The correct dependency for the leds-pwm is PWM and not HAVE_PWM since PWM drivers now have their own subsystem.

---
 drivers/leds/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/Kconfig +1 -1
index 4469b44..c32d934 100644
@@ -310,7 +310,7 @@ config LEDS_DAC124S085
 config LEDS_PWM
 	tristate "PWM driven LED Support"
 	depends on LEDS_CLASS
-	depends on HAVE_PWM
+	depends on PWM
 	help
 	  This option enables support for pwm driven LEDs
 
Signature · 1 line
1.8.1.1
#1 lore raw
Quoted 3 lines · Peter Ujfalusi

The correct dependency for the leds-pwm is PWM and not HAVE_PWM since PWM drivers now have their own subsystem.

Thanks, merged.

-Bryan

Quoted 21 lines
---
 drivers/leds/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/Kconfig +1 -2
index 4469b44..c32d934 100644
@@ -310,7 +310,7 @@ config LEDS_DAC124S085
 config LEDS_PWM
        tristate "PWM driven LED Support"
        depends on LEDS_CLASS
-       depends on HAVE_PWM
+       depends on PWM
        help
          This option enables support for pwm driven LEDs
 
--

1.8.1.1