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 db0c4c6fea9b..96cf274ec7cb 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/arch/ohci.h> | 25 | #include <asm/arch/ohci.h> |
26 | #include <asm/arch/pm.h> | 26 | #include <asm/arch/pm.h> |
27 | #include <asm/arch/dma.h> | 27 | #include <asm/arch/dma.h> |
28 | #include <asm/arch/i2c.h> | ||
28 | 29 | ||
29 | #include "generic.h" | 30 | #include "generic.h" |
30 | #include "devices.h" | 31 | #include "devices.h" |
@@ -390,6 +391,11 @@ struct platform_device pxa27x_device_i2c_power = { | |||
390 | .num_resources = ARRAY_SIZE(i2c_power_resources), | 391 | .num_resources = ARRAY_SIZE(i2c_power_resources), |
391 | }; | 392 | }; |
392 | 393 | ||
394 | void __init pxa_set_i2c_power_info(struct i2c_pxa_platform_data *info) | ||
395 | { | ||
396 | pxa27x_device_i2c_power.dev.platform_data = info; | ||
397 | } | ||
398 | |||
393 | static struct platform_device *devices[] __initdata = { | 399 | static struct platform_device *devices[] __initdata = { |
394 | &pxa_device_udc, | 400 | &pxa_device_udc, |
395 | &pxa_device_ffuart, | 401 | &pxa_device_ffuart, |