mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
leds: lm3532: select regmap I2C API
[ Upstream commit 99be74f61cb0292b518f5e6d7e5c6611555c2ec7 ]
Regmap APIs should be selected, otherwise link can fail
ERROR: modpost: "__devm_regmap_init_i2c" [drivers/leds/leds-lm3532.ko] undefined!
Fixes: bc1b8492c7 ("leds: lm3532: Introduce the lm3532 LED driver")
Cc: Dan Murphy <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
329e02d6f2
commit
a42c6c448c
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ config LEDS_LM3530
|
|||
|
||||
config LEDS_LM3532
|
||||
tristate "LCD Backlight driver for LM3532"
|
||||
select REGMAP_I2C
|
||||
depends on LEDS_CLASS
|
||||
depends on I2C
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in a new issue