From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] Update the Kconfig entry for omap-bl Date: Thu, 24 May 2007 17:31:21 -0700 Message-ID: <20070525003121.GC19506@atomide.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: andrzej zaborowski Cc: Linux OMAP ML List-Id: linux-omap@vger.kernel.org * andrzej zaborowski [070522 10:25]: > - 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. > --- > drivers/video/backlight/Kconfig | 2 +- > drivers/video/backlight/omap_bl.c | 1 + > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig > index 33d71c1..b705415 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 a9532fd..3249bf8 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); Pushing today. Tony