Commit 99be74f6 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Pavel Machek

leds: lm3532: select regmap I2C API

Regmap APIs should be selected, otherwise link can fail

ERROR: modpost: "__devm_regmap_init_i2c" [drivers/leds/leds-lm3532.ko] undefined!

Fixes: bc1b8492 ("leds: lm3532: Introduce the lm3532 LED driver")
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent f3e2b382
...@@ -199,6 +199,7 @@ config LEDS_LM3530 ...@@ -199,6 +199,7 @@ config LEDS_LM3530
config LEDS_LM3532 config LEDS_LM3532
tristate "LCD Backlight driver for LM3532" tristate "LCD Backlight driver for LM3532"
select REGMAP_I2C
depends on LEDS_CLASS depends on LEDS_CLASS
depends on I2C depends on I2C
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment