Commit 00bc7eb7 authored by andrzej zaborowski's avatar andrzej zaborowski Committed by Tony Lindgren

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: default avatarAndrzej 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: default avatarTony Lindgren <tony@atomide.com>
parent 2a3099d6
...@@ -58,7 +58,7 @@ config BACKLIGHT_HP680 ...@@ -58,7 +58,7 @@ config BACKLIGHT_HP680
config BACKLIGHT_OMAP config BACKLIGHT_OMAP
tristate "OMAP LCD Backlight" tristate "OMAP LCD Backlight"
depends on BACKLIGHT_DEVICE && (ARCH_OMAP1 || ARCH_OMAP2) depends on BACKLIGHT_CLASS_DEVICE && (ARCH_OMAP1 || ARCH_OMAP2)
default y default y
help help
This driver controls the LCD backlight level and power This driver controls the LCD backlight level and power
......
...@@ -170,6 +170,7 @@ static int omapbl_probe(struct platform_device *pdev) ...@@ -170,6 +170,7 @@ static int omapbl_probe(struct platform_device *pdev)
omap_cfg_reg(PWL); /* Conflicts with UART3 */ omap_cfg_reg(PWL); /* Conflicts with UART3 */
dev->props.fb_blank = FB_BLANK_UNBLANK; dev->props.fb_blank = FB_BLANK_UNBLANK;
dev->props.max_brightness = OMAPBL_MAX_INTENSITY;
dev->props.brightness = pdata->default_intensity; dev->props.brightness = pdata->default_intensity;
omapbl_update_status(dev); omapbl_update_status(dev);
......
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