[ARM] pxa: avoid always registering MMC, I2C, IrDA and framebuffer devices
commit03f5b2cee6cabd0400b9f89956c373a0b5d3802a
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 Nov 2007 11:17:19 +0000 (8 11:17 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:50 +0000 (26 15:07 +0000)
treeabea1a5700170fc5434b200679aa51e876afe3a7
parent2fd2b1242810fb4d2ba36548fecc1f005c36770c
[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>
arch/arm/mach-pxa/devices.h
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c