]> Git Repo - linux.git/commitdiff
leds: lp8860: Fix module dependency
authorAxel Lin <[email protected]>
Fri, 21 Nov 2014 13:48:26 +0000 (05:48 -0800)
committerBryan Wu <[email protected]>
Mon, 1 Dec 2014 22:49:42 +0000 (14:49 -0800)
The driver should select REGMAP_I2C rather than depend on it.

Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
drivers/leds/Kconfig

index b0dce59f23e8e225e82174394bd0b9b8fc57f580..a6c3d2f153f3d4639a7faee7ef99594266632462 100644 (file)
@@ -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.
This page took 0.172733 seconds and 4 git commands to generate.