leds: qcom-lpg: add missing PWM dependency
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 5 May 2022 08:03:58 +0000 (10:03 +0200)
committerPavel Machek <pavel@ucw.cz>
Sat, 7 May 2022 21:20:14 +0000 (23:20 +0200)
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>
drivers/leds/rgb/Kconfig

index 63fd40b..204cf47 100644 (file)
@@ -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