summaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-10 11:50:31 +0200
committerPavel Machek <pavel@ucw.cz>2021-05-28 12:00:13 +0200
commit99be74f61cb0292b518f5e6d7e5c6611555c2ec7 (patch)
tree375f64a23620b74b05813741f5c222f2ffe8cca2 /drivers/leds/Kconfig
parentleds: lgm-sso: Drop duplicate NULL check for GPIO operations (diff)
downloadlinux-99be74f61cb0292b518f5e6d7e5c6611555c2ec7.tar.xz
linux-99be74f61cb0292b518f5e6d7e5c6611555c2ec7.zip
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: 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>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 49d99cb084db..c81b1e60953c 100644
--- 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