]> Git Repo - linux.git/commitdiff
video/backlight: LP8788 needs PWM
authorPeter Griffin <[email protected]>
Thu, 24 Apr 2014 12:28:25 +0000 (13:28 +0100)
committerLee Jones <[email protected]>
Mon, 28 Apr 2014 10:22:01 +0000 (11:22 +0100)
The LP8788 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 <[email protected]>
Signed-off-by: Peter Griffin <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Acked-by: Bryan Wu <[email protected]>
Acked-by: Milo Kim <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
drivers/video/backlight/Kconfig

index 3e393026dc8178e7975baa690af08a1bba308e6d..5d449059a55637daa07bc5908e52e6a7bbf69f8d 100644 (file)
@@ -393,7 +393,7 @@ config BACKLIGHT_LP855X
 
 config BACKLIGHT_LP8788
        tristate "Backlight driver for TI LP8788 MFD"
-       depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788
+       depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 && PWM
        help
          This supports TI LP8788 backlight driver.
 
This page took 0.059714 seconds and 4 git commands to generate.