diff options
Diffstat (limited to 'arch/arm/mach-imx/devices/platform-imx-i2c.c')
-rw-r--r-- | arch/arm/mach-imx/devices/platform-imx-i2c.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-imx/devices/platform-imx-i2c.c b/arch/arm/mach-imx/devices/platform-imx-i2c.c index 57d342e85c2f..644ac2689882 100644 --- a/arch/arm/mach-imx/devices/platform-imx-i2c.c +++ b/arch/arm/mach-imx/devices/platform-imx-i2c.c | |||
@@ -70,32 +70,6 @@ const struct imx_imx_i2c_data imx35_imx_i2c_data[] __initconst = { | |||
70 | }; | 70 | }; |
71 | #endif /* ifdef CONFIG_SOC_IMX35 */ | 71 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
72 | 72 | ||
73 | #ifdef CONFIG_SOC_IMX51 | ||
74 | const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst = { | ||
75 | #define imx51_imx_i2c_data_entry(_id, _hwid) \ | ||
76 | imx_imx_i2c_data_entry(MX51, "imx21-i2c", _id, _hwid, SZ_4K) | ||
77 | imx51_imx_i2c_data_entry(0, 1), | ||
78 | imx51_imx_i2c_data_entry(1, 2), | ||
79 | { | ||
80 | .devid = "imx21-i2c", | ||
81 | .id = 2, | ||
82 | .iobase = MX51_HSI2C_DMA_BASE_ADDR, | ||
83 | .iosize = SZ_16K, | ||
84 | .irq = MX51_INT_HS_I2C, | ||
85 | }, | ||
86 | }; | ||
87 | #endif /* ifdef CONFIG_SOC_IMX51 */ | ||
88 | |||
89 | #ifdef CONFIG_SOC_IMX53 | ||
90 | const struct imx_imx_i2c_data imx53_imx_i2c_data[] __initconst = { | ||
91 | #define imx53_imx_i2c_data_entry(_id, _hwid) \ | ||
92 | imx_imx_i2c_data_entry(MX53, "imx21-i2c", _id, _hwid, SZ_4K) | ||
93 | imx53_imx_i2c_data_entry(0, 1), | ||
94 | imx53_imx_i2c_data_entry(1, 2), | ||
95 | imx53_imx_i2c_data_entry(2, 3), | ||
96 | }; | ||
97 | #endif /* ifdef CONFIG_SOC_IMX53 */ | ||
98 | |||
99 | struct platform_device *__init imx_add_imx_i2c( | 73 | struct platform_device *__init imx_add_imx_i2c( |
100 | const struct imx_imx_i2c_data *data, | 74 | const struct imx_imx_i2c_data *data, |
101 | const struct imxi2c_platform_data *pdata) | 75 | const struct imxi2c_platform_data *pdata) |