diff options
| author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 12:50:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-14 16:53:41 +0200 |
| commit | a42c6c448c9e4272178a17f7cefc7b6419d11316 (patch) | |
| tree | c4f6c1b1bfa57f95a7a1daa4b48835581c0f9c44 /drivers/leds | |
| parent | 329e02d6f22d4cc917ed2375bde166da751d0ec1 (diff) | |
| download | linux-a42c6c448c9e4272178a17f7cefc7b6419d11316.tar.gz linux-a42c6c448c9e4272178a17f7cefc7b6419d11316.tar.bz2 linux-a42c6c448c9e4272178a17f7cefc7b6419d11316.zip | |
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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/leds')
| -rw-r--r-- | drivers/leds/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 1988de1d64c0..2cbf66d1c300 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -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 |
