Browse Source

leds: lp8860: Fix module dependency

The driver should select REGMAP_I2C rather than depend on it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Axel Lin 10 years ago
parent
commit
2969bb18f8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/leds/Kconfig

+ 2 - 1
drivers/leds/Kconfig

@@ -252,7 +252,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.