projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e2b38
)
leds: lm3532: select regmap I2C API
author
Andy Shevchenko
<andy.shevchenko@gmail.com>
Mon, 10 May 2021 09:50:31 +0000
(12:50 +0300)
committer
Pavel Machek
<pavel@ucw.cz>
Fri, 28 May 2021 10:00:13 +0000
(12:00 +0200)
Regmap APIs should be selected, otherwise link can fail
ERROR: modpost: "__devm_regmap_init_i2c" [drivers/leds/leds-lm3532.ko] undefined!
Fixes:
bc1b8492c764
("leds: lm3532: Introduce the lm3532 LED driver")
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/Kconfig
b/drivers/leds/Kconfig
index 49d99cb084dbd044eacae20715f3504fec91d2e2..c81b1e60953c10b46ea527b21cdaf7d992004c84 100644
(file)
--- a/
drivers/leds/Kconfig
+++ b/
drivers/leds/Kconfig
@@
-199,6
+199,7
@@
config LEDS_LM3530
config LEDS_LM3532
tristate "LCD Backlight driver for LM3532"
+ select REGMAP_I2C
depends on LEDS_CLASS
depends on I2C
help