diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 8e126e6b74c3..57efebdc4324 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <asm/arch/ohci.h> | 24 | #include <asm/arch/ohci.h> |
25 | #include <asm/arch/pm.h> | 25 | #include <asm/arch/pm.h> |
26 | #include <asm/arch/dma.h> | 26 | #include <asm/arch/dma.h> |
27 | #include <asm/arch/i2c.h> | ||
27 | 28 | ||
28 | #include "generic.h" | 29 | #include "generic.h" |
29 | #include "devices.h" | 30 | #include "devices.h" |
@@ -423,6 +424,11 @@ struct platform_device pxa27x_device_i2c_power = { | |||
423 | .num_resources = ARRAY_SIZE(i2c_power_resources), | 424 | .num_resources = ARRAY_SIZE(i2c_power_resources), |
424 | }; | 425 | }; |
425 | 426 | ||
427 | void __init pxa_set_i2c_power_info(struct i2c_pxa_platform_data *info) | ||
428 | { | ||
429 | pxa27x_device_i2c_power.dev.platform_data = info; | ||
430 | } | ||
431 | |||
426 | static struct platform_device *devices[] __initdata = { | 432 | static struct platform_device *devices[] __initdata = { |
427 | &pxa_device_mci, | 433 | &pxa_device_mci, |
428 | &pxa_device_udc, | 434 | &pxa_device_udc, |