[PATCH 1/4] video: backlight-pwm: depend on GPIOLIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 drivers/video/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 8e6ae99b9516..921b603a288d 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.
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux