aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/poodle.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-13 10:00:22 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-13 10:00:22 -0500
commit4de3a8e101150feaefa1139611a50ff37467f33e (patch)
treedaada742542518b02d7db7c5d32e715eaa5f166d /arch/arm/mach-pxa/poodle.c
parent294064f58953f9964e5945424b09c51800330a83 (diff)
parent099469502f62fbe0d7e4f0b83a2f22538367f734 (diff)
Merge branch 'master' into fixes
Diffstat (limited to 'arch/arm/mach-pxa/poodle.c')
-rw-r--r--arch/arm/mach-pxa/poodle.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index b260ce872d2d..744baee12c0c 100644
--- a/arch/arm/mach-pxa/poodle.c
+++ b/arch/arm/mach-pxa/poodle.c
@@ -158,6 +158,11 @@ static struct scoop_pcmcia_config poodle_pcmcia_config = {
158EXPORT_SYMBOL(poodle_scoop_device); 158EXPORT_SYMBOL(poodle_scoop_device);
159 159
160 160
161static struct platform_device poodle_audio_device = {
162 .name = "poodle-audio",
163 .id = -1,
164};
165
161/* LoCoMo device */ 166/* LoCoMo device */
162static struct resource locomo_resources[] = { 167static struct resource locomo_resources[] = {
163 [0] = { 168 [0] = {
@@ -166,8 +171,8 @@ static struct resource locomo_resources[] = {
166 .flags = IORESOURCE_MEM, 171 .flags = IORESOURCE_MEM,
167 }, 172 },
168 [1] = { 173 [1] = {
169 .start = IRQ_GPIO(10), 174 .start = PXA_GPIO_TO_IRQ(10),
170 .end = IRQ_GPIO(10), 175 .end = PXA_GPIO_TO_IRQ(10),
171 .flags = IORESOURCE_IRQ, 176 .flags = IORESOURCE_IRQ,
172 }, 177 },
173}; 178};
@@ -212,7 +217,7 @@ static struct spi_board_info poodle_spi_devices[] = {
212 .bus_num = 1, 217 .bus_num = 1,
213 .platform_data = &poodle_ads7846_info, 218 .platform_data = &poodle_ads7846_info,
214 .controller_data= &poodle_ads7846_chip, 219 .controller_data= &poodle_ads7846_chip,
215 .irq = gpio_to_irq(POODLE_GPIO_TP_INT), 220 .irq = PXA_GPIO_TO_IRQ(POODLE_GPIO_TP_INT),
216 }, 221 },
217}; 222};
218 223
@@ -407,6 +412,7 @@ static struct platform_device sharpsl_rom_device = {
407static struct platform_device *devices[] __initdata = { 412static struct platform_device *devices[] __initdata = {
408 &poodle_locomo_device, 413 &poodle_locomo_device,
409 &poodle_scoop_device, 414 &poodle_scoop_device,
415 &poodle_audio_device,
410 &sharpsl_nand_device, 416 &sharpsl_nand_device,
411 &sharpsl_rom_device, 417 &sharpsl_rom_device,
412}; 418};