aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa25x.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-11-08 06:17:19 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 10:07:50 -0500
commit03f5b2cee6cabd0400b9f89956c373a0b5d3802a (patch)
treeabea1a5700170fc5434b200679aa51e876afe3a7 /arch/arm/mach-pxa/pxa25x.c
parent2fd2b1242810fb4d2ba36548fecc1f005c36770c (diff)
[ARM] pxa: avoid always registering MMC, I2C, IrDA and framebuffer devices
Only register the MMC, framebuffer, I2C and FICP devices when the platform supplies the necessary platform data structures for the devices. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r--arch/arm/mach-pxa/pxa25x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index 9732d5d9466b..d9ee0d9b36df 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -287,15 +287,11 @@ void __init pxa25x_init_irq(void)
287} 287}
288 288
289static struct platform_device *pxa25x_devices[] __initdata = { 289static struct platform_device *pxa25x_devices[] __initdata = {
290 &pxa_device_mci,
291 &pxa_device_udc, 290 &pxa_device_udc,
292 &pxa_device_fb,
293 &pxa_device_ffuart, 291 &pxa_device_ffuart,
294 &pxa_device_btuart, 292 &pxa_device_btuart,
295 &pxa_device_stuart, 293 &pxa_device_stuart,
296 &pxa_device_i2c,
297 &pxa_device_i2s, 294 &pxa_device_i2s,
298 &pxa_device_ficp,
299 &pxa_device_rtc, 295 &pxa_device_rtc,
300}; 296};
301 297