Commit 137a8899 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

[PATCH] backlight: Fix Kconfig dependency

CONFIG_FB = m and CONFIG_{BACKLIGHT:LCD}_CLASS_DEVICE = y is possible
resulting in link errors.  Fix by making backlight and lcd class also depend
on FB
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6931a764
...@@ -10,7 +10,7 @@ menuconfig BACKLIGHT_LCD_SUPPORT ...@@ -10,7 +10,7 @@ menuconfig BACKLIGHT_LCD_SUPPORT
config BACKLIGHT_CLASS_DEVICE config BACKLIGHT_CLASS_DEVICE
tristate "Lowlevel Backlight controls" tristate "Lowlevel Backlight controls"
depends on BACKLIGHT_LCD_SUPPORT depends on BACKLIGHT_LCD_SUPPORT && FB
default m default m
help help
This framework adds support for low-level control of the LCD This framework adds support for low-level control of the LCD
...@@ -26,7 +26,7 @@ config BACKLIGHT_DEVICE ...@@ -26,7 +26,7 @@ config BACKLIGHT_DEVICE
config LCD_CLASS_DEVICE config LCD_CLASS_DEVICE
tristate "Lowlevel LCD controls" tristate "Lowlevel LCD controls"
depends on BACKLIGHT_LCD_SUPPORT depends on BACKLIGHT_LCD_SUPPORT && FB
default m default m
help help
This framework adds support for low-level control of LCD. This framework adds support for low-level control of LCD.
......
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