[PATCH] leds: qcom-lpg: add missing PWM dependency

Johan Hovold posted 1 patch 4 years ago
drivers/leds/rgb/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] leds: qcom-lpg: add missing PWM dependency
Posted by Johan Hovold 4 years ago
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 --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
-- 
2.35.1
Re: [PATCH] leds: qcom-lpg: add missing PWM dependency
Posted by Pavel Machek 4 years ago
On Thu 2022-05-05 10:03:58, Johan Hovold wrote:
> The Qualcomm LPG driver fails to probe unless PWM support is enabled so
> add the missing Kconfig dependency.

Thank you, applied.

Best regards,

								Pavel

-- 
People of Russia, stop Putin before his war on Ukraine escalates.