pxa/littleton: update tdo24m LCD panel support
PATCH 2/2 pxa/littleton: update tdo24m LCD panel support
Signed-off-by Mike Rapoport <[email protected]>
arch/arm/mach-pxa/littleton.c +7 -0
@@ -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, }, };
Signature · 9 lines
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=/