aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-cpuimx27.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mach-cpuimx27.c')
-rw-r--r--arch/arm/mach-imx/mach-cpuimx27.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c
index 5d07c2ab4711..06dcd23f51f7 100644
--- a/arch/arm/mach-imx/mach-cpuimx27.c
+++ b/arch/arm/mach-imx/mach-cpuimx27.c
@@ -35,7 +35,6 @@
35#include <mach/board-eukrea_cpuimx27.h> 35#include <mach/board-eukrea_cpuimx27.h>
36#include <mach/common.h> 36#include <mach/common.h>
37#include <mach/hardware.h> 37#include <mach/hardware.h>
38#include <mach/i2c.h>
39#include <mach/iomux-mx27.h> 38#include <mach/iomux-mx27.h>
40#include <mach/imx-uart.h> 39#include <mach/imx-uart.h>
41#include <mach/mxc_nand.h> 40#include <mach/mxc_nand.h>
@@ -131,7 +130,7 @@ static struct platform_device *platform_devices[] __initdata = {
131 &mxc_fec_device, 130 &mxc_fec_device,
132}; 131};
133 132
134static struct imxi2c_platform_data eukrea_cpuimx27_i2c_1_data = { 133static const struct imxi2c_platform_data cpuimx27_i2c1_data __initconst = {
135 .bitrate = 100000, 134 .bitrate = 100000,
136}; 135};
137 136
@@ -196,7 +195,7 @@ static void __init eukrea_cpuimx27_init(void)
196 i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices, 195 i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices,
197 ARRAY_SIZE(eukrea_cpuimx27_i2c_devices)); 196 ARRAY_SIZE(eukrea_cpuimx27_i2c_devices));
198 197
199 mxc_register_device(&mxc_i2c_device0, &eukrea_cpuimx27_i2c_1_data); 198 imx27_add_i2c_imx1(&cpuimx27_i2c1_data);
200 199
201 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); 200 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
202 201