All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] sh: mach-ecovec24: support for main lcd backlight
@ 2011-02-10 15:22 Alexandre Courbot
  0 siblings, 0 replies; only message in thread
From: Alexandre Courbot @ 2011-02-10 15:22 UTC (permalink / raw)
  To: linux-sh


Signed-off-by: Alexandre Courbot <gnurou@gmail.com>
---
 arch/sh/boards/mach-ecovec24/setup.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 701667a..6d316f6 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -261,6 +261,11 @@ const static struct fb_videomode ecovec_dvi_modes[] = {
 	},
 };
 
+static struct sh_mobile_lcdc_bl_info lcdc_bl_info = {
+	.name = "sh_mobile_mainlcd_bl",
+	.gpio = GPIO_PTR1,
+};
+
 static struct sh_mobile_lcdc_info lcdc_info = {
 	.ch[0] = {
 		.interface_type = RGB18,
@@ -272,6 +277,7 @@ static struct sh_mobile_lcdc_info lcdc_info = {
 		},
 		.board_cfg = {
 		},
+		.bl_info = &lcdc_bl_info,
 	}
 };
 
-- 
1.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-10 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 15:22 [PATCH 2/2] sh: mach-ecovec24: support for main lcd backlight Alexandre Courbot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.