diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-11-28 09:00:24 +0100 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 07:42:40 +0100 |
commit | 6f584cfab47173bcbf06b67cb22d519e95317311 (patch) | |
tree | a8f89cd017e6e8b66cc7aa4a77c38951bb0fd628 /arch/arm/mach-pxa/devices.c | |
parent | [ARM] pxa: register Power I2C device only when necessary (diff) | |
download | linux-6f584cfab47173bcbf06b67cb22d519e95317311.tar.xz linux-6f584cfab47173bcbf06b67cb22d519e95317311.zip |
[ARM] pxa: move I2C pin configurations out into board specific files
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/devices.c')
-rw-r--r-- | arch/arm/mach-pxa/devices.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index 55699a216f93..88c362651445 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c @@ -10,7 +10,6 @@ #include <mach/mmc.h> #include <mach/irda.h> #include <mach/i2c.h> -#include <mach/mfp-pxa27x.h> #include <mach/ohci.h> #include <mach/pxa27x_keypad.h> #include <mach/pxa2xx_spi.h> @@ -249,15 +248,8 @@ struct platform_device pxa_device_i2c = { .num_resources = ARRAY_SIZE(pxai2c_resources), }; -static unsigned long pxa27x_i2c_mfp_cfg[] = { - GPIO117_I2C_SCL, - GPIO118_I2C_SDA, -}; - void __init pxa_set_i2c_info(struct i2c_pxa_platform_data *info) { - if (cpu_is_pxa27x()) - pxa2xx_mfp_config(ARRAY_AND_SIZE(pxa27x_i2c_mfp_cfg)); pxa_register_device(&pxa_device_i2c, info); } |