DORMANTno replies

[PATCH 2/2] pxa/littleton: update tdo24m LCD panel support

From: Mike Rapoport <hidden>
Date: 2008-11-27 11:26:55
Subsystem: arm port, pxa2xx/pxa3xx support, the rest · Maintainers: Russell King, Daniel Mack, Haojian Zhuang, Robert Jarzmik, Linus Torvalds

Signed-off-by: Mike Rapoport <redacted>
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c
index b4d00ab..2aad849 100644
--- a/arch/arm/mach-pxa/littleton.c
+++ b/arch/arm/mach-pxa/littleton.c
@@ -23,6 +23,8 @@
 #include <linux/spi/spi.h>
 #include <linux/smc91x.h>

+#include <video/tdo24m.h>
+
 #include <asm/types.h>
 #include <asm/setup.h>
 #include <asm/memory.h>
@@ -186,6 +188,10 @@ static struct pxa2xx_spi_chip littleton_tdo24m_chip = {
 	.cs_control	= littleton_tdo24m_cs,
 };

+static struct tdo24m_platform_data littleton_tdo24m_pdata = {
+	.model = TDO24M,
+};
+
 static struct spi_board_info littleton_spi_devices[] __initdata = {
 	{
 		.modalias	= "tdo24m",
@@ -193,6 +199,7 @@ static struct spi_board_info littleton_spi_devices[] __initdata = {
 		.bus_num	= 2,
 		.chip_select	= 0,
 		.controller_data= &littleton_tdo24m_chip,
+		.platform_data	= &littleton_tdo24m_pdata,
 	},
 };

-- 
Sincerely yours,
Mike.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help