summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx1.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-21 12:13:34 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-27 15:46:39 +0200
commit64de5ec168d9743903e6ec482c3e9f37af49f9c1 (patch)
tree177232c0fad2ef3959a8b7303f2d01076155cefc /arch/arm/mach-imx/devices-imx1.h
parent4697bb926f43b8012ebd111ef43834f42126a0ef (diff)
ARM: imx: reorganize imx-i2c device registration to use a struct per SoC
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx1.h')
-rw-r--r--arch/arm/mach-imx/devices-imx1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/devices-imx1.h b/arch/arm/mach-imx/devices-imx1.h
index 2861cb8b100a..6cf08640dae9 100644
--- a/arch/arm/mach-imx/devices-imx1.h
+++ b/arch/arm/mach-imx/devices-imx1.h
@@ -9,8 +9,9 @@
#include <mach/mx1.h>
#include <mach/devices-common.h>
+extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst;
#define imx1_add_i2c_imx(pdata) \
- imx_add_imx_i2c(0, MX1_I2C_BASE_ADDR, SZ_4K, MX1_INT_I2C, pdata)
+ imx_add_imx_i2c(&imx1_imx_i2c_data, pdata)
extern const struct imx_imx_uart_3irq_data imx1_imx_uart_data[] __initconst;
#define imx1_add_imx_uart(id, pdata) \