From: andrzej zaborowski Date: Tue, 22 May 2007 17:20:06 +0000 (+0200) Subject: Update the Kconfig entry for omap-bl X-Git-Tag: v2.6.22-omap1~119 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=00bc7eb7e3122aa954321784dd4252b46416e75a;p=linux-2.6-omap-h63xx.git Update the Kconfig entry for omap-bl - 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 From feb798039e5c6e06f64556ad482dbbd021153a1b Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski 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 --- diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 33d71c10545..b7054153ec1 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -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 diff --git a/drivers/video/backlight/omap_bl.c b/drivers/video/backlight/omap_bl.c index a9532fdf07c..3249bf86c37 100644 --- a/drivers/video/backlight/omap_bl.c +++ b/drivers/video/backlight/omap_bl.c @@ -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);