- 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>
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
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);