The driver should select REGMAP_I2C rather than depend on it.

Signed-off-by: Axel Lin <[email protected]>
---
 drivers/leds/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b3c0d8a..59f4228 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -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



--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to