]> git.karo-electronics.de Git - linux-beck.git/commitdiff
video/backlight: LM3630A needs PWM
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 24 Apr 2014 12:28:24 +0000 (13:28 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 28 Apr 2014 10:19:52 +0000 (11:19 +0100)
The LM3630A driver cannot be successfully built if we don't
enable the PWM subsystem. This patch makes that dependency
explicit in Kconfig and prevents broken randconfig builds.

Based on Arnd Bergmann patch but split out into seperate
commits per driver based on feedback.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/Kconfig

index 5a3eb2ecb525c2b52a2d1f5d8decb688a93bb99d..4791af7b80368ae2d7db6a51b72ba2286bacb18d 100644 (file)
@@ -370,7 +370,7 @@ config BACKLIGHT_AAT2870
 
 config BACKLIGHT_LM3630A
        tristate "Backlight Driver for LM3630A"
-       depends on BACKLIGHT_CLASS_DEVICE && I2C
+       depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM
        select REGMAP_I2C
        help
          This supports TI LM3630A Backlight Driver