summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-05-05 10:03:58 +0200
committerPavel Machek <pavel@ucw.cz>2022-05-07 23:20:14 +0200
commit1d6a1b5e505b52777f20b9bac5c1f8624f5a8776 (patch)
tree7153b682f41de5e3051024e0fc5eb9812db86f12 /drivers
parent69175786d5bc81da7cc8baab92f1ac0b07567dba (diff)
leds: qcom-lpg: add missing PWM dependency
The Qualcomm LPG driver fails to probe unless PWM support is enabled so add the missing Kconfig dependency. Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/rgb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig
index 63fd40b257ec..204cf470beae 100644
--- a/drivers/leds/rgb/Kconfig
+++ b/drivers/leds/rgb/Kconfig
@@ -15,6 +15,7 @@ config LEDS_PWM_MULTICOLOR
config LEDS_QCOM_LPG
tristate "LED support for Qualcomm LPG"
depends on OF
+ depends on PWM
depends on SPMI
help
This option enables support for the Light Pulse Generator found in a