Skip to contentSkip to conversation

leds: lp8860: Fix module dependency

PATCH Applied Axel Lin 2 participants 2 messages Nov 21, 2014 – Dec 1, 2014 LED

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 leds: lp8860: Fix module dependency

The driver should select REGMAP_I2C rather than depend on it.

---
 drivers/leds/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/leds/Kconfig +2 -1
index b3c0d8a..59f4228 100644
@@ -249,7 +249,8 @@ config LEDS_LP8788
 
 config LEDS_LP8860
 	tristate "LED support for the TI LP8860 4 channel LED driver"
-	depends on LEDS_CLASS && REGMAP_I2C
+	depends on LEDS_CLASS && I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for the TI LP8860 4 channel
 	  LED driver.
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

The driver should select REGMAP_I2C rather than depend on it.

Applied. Thanks,
-Bryan

Quoted 24 lines
---
 drivers/leds/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/leds/Kconfig +2 -2
index b3c0d8a..59f4228 100644
@@ -249,7 +249,8 @@ config LEDS_LP8788
 
 config LEDS_LP8860
        tristate "LED support for the TI LP8860 4 channel LED driver"
-       depends on LEDS_CLASS && REGMAP_I2C
+       depends on LEDS_CLASS && I2C
+       select REGMAP_I2C
        help
          If you say yes here you get support for the TI LP8860 4 channel
          LED driver.
--

1.9.1