diff mbox series

leds: qcom-lpg: add missing PWM dependency

Message ID 20220505080358.12288-1-johan+linaro@kernel.org
State New
Headers show
Series leds: qcom-lpg: add missing PWM dependency | expand

Commit Message

Johan Hovold May 5, 2022, 8:03 a.m. UTC
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>
---
 drivers/leds/rgb/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig
index 5dd27ad80856..1e35433d061a 100644
--- a/drivers/leds/rgb/Kconfig
+++ b/drivers/leds/rgb/Kconfig
@@ -5,6 +5,7 @@  if LEDS_CLASS_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