From 2969bb18f8895eb4e0fbbc98efe706f15a3acff5 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 21 Nov 2014 05:48:26 -0800 Subject: [PATCH] leds: lp8860: Fix module dependency The driver should select REGMAP_I2C rather than depend on it. Signed-off-by: Axel Lin Signed-off-by: Bryan Wu --- drivers/leds/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.34.1