All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] pxa/littleton: update tdo24m LCD panel support
@ 2008-11-27 11:26 Mike Rapoport
  0 siblings, 0 replies; only message in thread
From: Mike Rapoport @ 2008-11-27 11:26 UTC (permalink / raw)
  To: eric miao; +Cc: linux-fbdev-devel, ARM Linux

Signed-off-by: Mike Rapoport <mike@compulab.co.il>

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

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

only message in thread, other threads:[~2008-11-27 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 11:26 [PATCH 2/2] pxa/littleton: update tdo24m LCD panel support Mike Rapoport

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.