public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Update the Kconfig entry for omap-bl
@ 2007-05-22 17:20 andrzej zaborowski
  2007-05-25  0:31 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: andrzej zaborowski @ 2007-05-22 17:20 UTC (permalink / raw)
  To: Linux OMAP ML

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

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

[-- Attachment #2: 0003-OMAP-Update-omap-bl-Kconfig-entry.txt --]
[-- Type: text/plain, Size: 1485 bytes --]

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


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-25  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 17:20 [PATCH] Update the Kconfig entry for omap-bl andrzej zaborowski
2007-05-25  0:31 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox