diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2015-07-27 17:48:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-29 08:01:15 +0200 |
commit | 1c9535cff86b8aef8cc60f754f755464493e9221 (patch) | |
tree | d0489cb590855db6d93e27336658c43e60260c5e /drivers/video | |
parent | 04ac96fa2daa0421e7f90b18ca72820f70b2e4e6 (diff) | |
download | barebox-1c9535cff86b8aef8cc60f754f755464493e9221.tar.gz barebox-1c9535cff86b8aef8cc60f754f755464493e9221.tar.xz |
video: backlight-pwm: depend on GPIOLIB
The PWM backlight driver does not only control PWMs but also GPIOs.
Fixes:
In file included from include/gpio.h:4:0,
from drivers/video/backlight-pwm.c:27:
arch/arm/include/asm/gpio.h:5:23: fatal error: mach/gpio.h: No such file or directory
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 8e6ae99b95..921b603a28 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -100,7 +100,7 @@ config DRIVER_VIDEO_BACKLIGHT config DRIVER_VIDEO_BACKLIGHT_PWM bool "PWM backlight support" - depends on PWM + depends on PWM && GPIOLIB depends on DRIVER_VIDEO_BACKLIGHT help Enable this to get support for backlight devices driven by a PWM. |