All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: eric miao <eric.miao@marvell.com>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	ARM Linux <linux-arm-kernel@lists.arm.linux.org.uk>
Subject: [PATCH 2/2] pxa/littleton: update tdo24m LCD panel support
Date: Thu, 27 Nov 2008 13:26:42 +0200	[thread overview]
Message-ID: <492E83F2.4040806@compulab.co.il> (raw)

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

                 reply	other threads:[~2008-11-27 11:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492E83F2.4040806@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=eric.miao@marvell.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.