Skip to contentSkip to conversation

Update the Kconfig entry for omap-bl

PATCH In review andrzej zaborowski 2 participants 2 messages May 22, 2007 – May 25, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

From feb798039e5c6e06f64556ad482dbbd021153a1b Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <[email protected]>
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(-)
drivers/video/backlight/Kconfig +1 -1
index 33d71c1..b705415 100644
@@ -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
drivers/video/backlight/omap_bl.c +1 -0
index a9532fd..3249bf8 100644
@@ -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);
 
Signature · 1 line
1.4.4.3
#1 lore raw
Quoted 36 lines · andrzej zaborowski

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

From feb798039e5c6e06f64556ad482dbbd021153a1b Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <[email protected]>
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(-)
drivers/video/backlight/Kconfig +1 -1
index 33d71c1..b705415 100644
@@ -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
drivers/video/backlight/omap_bl.c +0 -0
index a9532fd..3249bf8 100644

drivers/video/backlight/omap_bl.c static int omapbl_probe(struct platform_device *pdev) · line 175

Quoted 6 lines
drivers/video/backlight/omap_bl.c +1 -0
@@ -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