]> err.no Git - linux-2.6/commitdiff
[PATCH] backlight: Fix Kconfig dependency
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 26 Jun 2006 07:26:49 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:31 +0000 (09:58 -0700)
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>
drivers/video/backlight/Kconfig

index 02f15297a021b1c7902137ee09bed8355e62f412..022f9d3473f5030074bda89cb3fe84a175d93a44 100644 (file)
@@ -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.