diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-11-08 11:17:19 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 15:07:50 +0000 |
commit | 03f5b2cee6cabd0400b9f89956c373a0b5d3802a (patch) | |
tree | abea1a5700170fc5434b200679aa51e876afe3a7 /arch/arm/mach-pxa/devices.h | |
parent | 2fd2b1242810fb4d2ba36548fecc1f005c36770c (diff) | |
download | linux-03f5b2cee6cabd0400b9f89956c373a0b5d3802a.tar.gz linux-03f5b2cee6cabd0400b9f89956c373a0b5d3802a.tar.bz2 linux-03f5b2cee6cabd0400b9f89956c373a0b5d3802a.zip |
[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/devices.h')
-rw-r--r-- | arch/arm/mach-pxa/devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.h b/arch/arm/mach-pxa/devices.h index 94c8d5cdd60a..51162a7dba07 100644 --- a/arch/arm/mach-pxa/devices.h +++ b/arch/arm/mach-pxa/devices.h @@ -12,3 +12,5 @@ extern struct platform_device pxa_device_rtc; extern struct platform_device pxa27x_device_i2c_power; extern struct platform_device pxa27x_device_ohci; + +void __init pxa_register_device(struct platform_device *dev, void *data); |