mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
[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: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6931a764e1
commit
137a8899b1
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ menuconfig BACKLIGHT_LCD_SUPPORT
|
|||
|
||||
config BACKLIGHT_CLASS_DEVICE
|
||||
tristate "Lowlevel Backlight controls"
|
||||
depends on BACKLIGHT_LCD_SUPPORT
|
||||
depends on BACKLIGHT_LCD_SUPPORT && FB
|
||||
default m
|
||||
help
|
||||
This framework adds support for low-level control of the LCD
|
||||
|
@ -26,7 +26,7 @@ config BACKLIGHT_DEVICE
|
|||
|
||||
config LCD_CLASS_DEVICE
|
||||
tristate "Lowlevel LCD controls"
|
||||
depends on BACKLIGHT_LCD_SUPPORT
|
||||
depends on BACKLIGHT_LCD_SUPPORT && FB
|
||||
default m
|
||||
help
|
||||
This framework adds support for low-level control of LCD.
|
||||
|
|
Loading…
Reference in a new issue