]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Update the Kconfig entry for omap-bl
authorandrzej zaborowski <balrogg@gmail.com>
Tue, 22 May 2007 17:20:06 +0000 (19:20 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 25 May 2007 00:31:09 +0000 (17:31 -0700)
 - CONFIG_BACKLIGHT_DEVICE now became CONFIG_BACKLIGHT_CLASS_DEVICE.
 - Re-add OMAPBL_MAX_INTENSITY usage that was removed in last commit
and the macro became unused.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
From feb798039e5c6e06f64556ad482dbbd021153a1b Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <balrog@zabor.org>
Date: Tue, 22 May 2007 19:59:11 +0200
Subject: [PATCH] OMAP: Update omap-bl Kconfig entry.

 - CONFIG_BACKLIGHT_DEVICE is now CONFIG_BACKLIGHT_CLASS_DEVICE.
 - Re-add OMAPBL_MAX_INTENSITY usage that became unused after last commit.
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/backlight/Kconfig
drivers/video/backlight/omap_bl.c

index 33d71c10545f81bc665fc8500ea2fe85fa7241c3..b7054153ec1c67246e58117962c45c160cad6d89 100644 (file)
@@ -58,7 +58,7 @@ config BACKLIGHT_HP680
 
 config BACKLIGHT_OMAP
        tristate "OMAP LCD Backlight"
-       depends on BACKLIGHT_DEVICE && (ARCH_OMAP1 || ARCH_OMAP2)
+       depends on BACKLIGHT_CLASS_DEVICE && (ARCH_OMAP1 || ARCH_OMAP2)
        default y
        help
          This driver controls the LCD backlight level and power
index a9532fdf07cb5ed86169b05f3dd05468e24a366b..3249bf86c37af2e1fa4709d96f599e12649ed8e0 100644 (file)
@@ -170,6 +170,7 @@ static int omapbl_probe(struct platform_device *pdev)
        omap_cfg_reg(PWL);      /* Conflicts with UART3 */
 
        dev->props.fb_blank = FB_BLANK_UNBLANK;
+       dev->props.max_brightness = OMAPBL_MAX_INTENSITY;
        dev->props.brightness = pdata->default_intensity;
        omapbl_update_status(dev);