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-imx/devices-imx21.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-imx/devices-imx21.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h index f75b5e4d0ed5..24868c36d824 100644 --- a/arch/arm/mach-imx/devices-imx21.h +++ b/arch/arm/mach-imx/devices-imx21.h | |||
@@ -12,6 +12,10 @@ | |||
12 | #define imx21_add_i2c_imx(pdata) \ | 12 | #define imx21_add_i2c_imx(pdata) \ |
13 | imx_add_imx_i2c(0, MX2x_I2C_BASE_ADDR, SZ_4K, MX2x_INT_I2C, pdata) | 13 | imx_add_imx_i2c(0, MX2x_I2C_BASE_ADDR, SZ_4K, MX2x_INT_I2C, pdata) |
14 | 14 | ||
15 | extern const struct imx_imx_ssi_data imx21_imx_ssi_data[] __initconst; | ||
16 | #define imx21_add_imx_ssi(id, pdata) \ | ||
17 | imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) | ||
18 | |||
15 | extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[] __initconst; | 19 | extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[] __initconst; |
16 | #define imx21_add_imx_uart(id, pdata) \ | 20 | #define imx21_add_imx_uart(id, pdata) \ |
17 | imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata) | 21 | imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata) |