diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-11-28 02:01:55 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 01:42:40 -0500 |
commit | 994642934d99b9a4d5447d628de7c321c4fde5fe (patch) | |
tree | 98706a47ad60f3ab6b418ceaeab5edea99db7186 /arch/arm/mach-pxa/pxa3xx.c | |
parent | e8a5ab1f7385fb8f3c55348b7bb372a463c55d09 (diff) |
[ARM] pxa: move power I2C device definitions into devices.c
Let's put these devices into a central place even if they are now
processor specific, as they might be re-used in later processors.
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index b3cd5d0b0f35..7775f882493b 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c | |||
@@ -529,25 +529,6 @@ void __init pxa3xx_init_irq(void) | |||
529 | * device registration specific to PXA3xx. | 529 | * device registration specific to PXA3xx. |
530 | */ | 530 | */ |
531 | 531 | ||
532 | static struct resource i2c_power_resources[] = { | ||
533 | { | ||
534 | .start = 0x40f500c0, | ||
535 | .end = 0x40f500d3, | ||
536 | .flags = IORESOURCE_MEM, | ||
537 | }, { | ||
538 | .start = IRQ_PWRI2C, | ||
539 | .end = IRQ_PWRI2C, | ||
540 | .flags = IORESOURCE_IRQ, | ||
541 | }, | ||
542 | }; | ||
543 | |||
544 | struct platform_device pxa3xx_device_i2c_power = { | ||
545 | .name = "pxa2xx-i2c", | ||
546 | .id = 1, | ||
547 | .resource = i2c_power_resources, | ||
548 | .num_resources = ARRAY_SIZE(i2c_power_resources), | ||
549 | }; | ||
550 | |||
551 | void __init pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info) | 532 | void __init pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info) |
552 | { | 533 | { |
553 | pxa3xx_device_i2c_power.dev.platform_data = info; | 534 | pxa3xx_device_i2c_power.dev.platform_data = info; |