aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices-imx27.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
-rw-r--r--arch/arm/mach-imx/devices-imx27.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h
index 2972e6912af4..193dfb55023b 100644
--- a/arch/arm/mach-imx/devices-imx27.h
+++ b/arch/arm/mach-imx/devices-imx27.h
@@ -9,10 +9,11 @@
9#include <mach/mx27.h> 9#include <mach/mx27.h>
10#include <mach/devices-common.h> 10#include <mach/devices-common.h>
11 11
12#define imx27_add_i2c_imx0(pdata) \ 12extern const struct imx_imx_i2c_data imx27_imx_i2c_data[] __initconst;
13 imx_add_imx_i2c(0, MX27_I2C1_BASE_ADDR, SZ_4K, MX27_INT_I2C1, pdata) 13#define imx27_add_imx_i2c(id, pdata) \
14#define imx27_add_i2c_imx1(pdata) \ 14 imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata)
15 imx_add_imx_i2c(1, MX27_I2C2_BASE_ADDR, SZ_4K, MX27_INT_I2C2, pdata) 15#define imx27_add_i2c_imx0(pdata) imx27_add_imx_i2c(0, pdata)
16#define imx27_add_i2c_imx1(pdata) imx27_add_imx_i2c(1, pdata)
16 17
17extern const struct imx_imx_ssi_data imx27_imx_ssi_data[] __initconst; 18extern const struct imx_imx_ssi_data imx27_imx_ssi_data[] __initconst;
18#define imx27_add_imx_ssi(id, pdata) \ 19#define imx27_add_imx_ssi(id, pdata) \