Commit 51319936 authored by Peter Griffin's avatar Peter Griffin Committed by Lee Jones

video/backlight: LP8788 needs PWM

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Acked-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarBryan Wu <cooloney@gmail.com>
Acked-by: default avatarMilo Kim <milo.kim@ti.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 91a57dc1
...@@ -393,7 +393,7 @@ config BACKLIGHT_LP855X ...@@ -393,7 +393,7 @@ config BACKLIGHT_LP855X
config BACKLIGHT_LP8788 config BACKLIGHT_LP8788
tristate "Backlight driver for TI LP8788 MFD" tristate "Backlight driver for TI LP8788 MFD"
depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 && PWM
help help
This supports TI LP8788 backlight driver. This supports TI LP8788 backlight driver.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment