diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-08-25 11:37:45 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-27 09:46:38 -0400 |
commit | 4697bb926f43b8012ebd111ef43834f42126a0ef (patch) | |
tree | bd913f4f8ea631e50aff81b18cec211f5b7ddc91 /arch/arm/mach-mx3/devices-imx35.h | |
parent | 5162de08d116fe7bbb912b17d84169983bfa16a8 (diff) |
ARM: imx: dynamically allocate imx-ssi devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx35.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index 6a76b4d72e49..813e570fd3ba 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h | |||
@@ -21,6 +21,10 @@ | |||
21 | #define imx35_add_imx_i2c2(pdata) \ | 21 | #define imx35_add_imx_i2c2(pdata) \ |
22 | imx_add_imx_i2c(2, MX35_I2C3_BASE_ADDR, SZ_4K, MX35_INT_I2C3, pdata) | 22 | imx_add_imx_i2c(2, MX35_I2C3_BASE_ADDR, SZ_4K, MX35_INT_I2C3, pdata) |
23 | 23 | ||
24 | extern const struct imx_imx_ssi_data imx35_imx_ssi_data[] __initconst; | ||
25 | #define imx35_add_imx_ssi(id, pdata) \ | ||
26 | imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) | ||
27 | |||
24 | extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst; | 28 | extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst; |
25 | #define imx35_add_imx_uart(id, pdata) \ | 29 | #define imx35_add_imx_uart(id, pdata) \ |
26 | imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) | 30 | imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) |