summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorAxel Lin2014-11-21 14:48:26 +0100
committerBryan Wu2014-12-01 23:49:42 +0100
commit2969bb18f8895eb4e0fbbc98efe706f15a3acff5 (patch)
tree1e994010233f5cdedfc53d5c164769116b907e81 /drivers/leds
parentleds: lp8860: Introduce TI lp8860 4 channel LED driver (diff)
downloadkernel-qcow2-linux-2969bb18f8895eb4e0fbbc98efe706f15a3acff5.tar.gz
kernel-qcow2-linux-2969bb18f8895eb4e0fbbc98efe706f15a3acff5.tar.xz
kernel-qcow2-linux-2969bb18f8895eb4e0fbbc98efe706f15a3acff5.zip
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b0dce59f23e8..a6c3d2f153f3 100644
--- a/drivers/leds/Kconfig
+++ b/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.