diff options
Diffstat (limited to 'arch/arm/mach-imx/devices-imx1.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx1.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/devices-imx1.h b/arch/arm/mach-imx/devices-imx1.h index a8d94f078196..2861cb8b100a 100644 --- a/arch/arm/mach-imx/devices-imx1.h +++ b/arch/arm/mach-imx/devices-imx1.h | |||
@@ -12,7 +12,8 @@ | |||
12 | #define imx1_add_i2c_imx(pdata) \ | 12 | #define imx1_add_i2c_imx(pdata) \ |
13 | imx_add_imx_i2c(0, MX1_I2C_BASE_ADDR, SZ_4K, MX1_INT_I2C, pdata) | 13 | imx_add_imx_i2c(0, MX1_I2C_BASE_ADDR, SZ_4K, MX1_INT_I2C, pdata) |
14 | 14 | ||
15 | #define imx1_add_imx_uart0(pdata) \ | 15 | extern const struct imx_imx_uart_3irq_data imx1_imx_uart_data[] __initconst; |
16 | imx_add_imx_uart_3irq(0, MX1_UART1_BASE_ADDR, 0xd0, MX1_INT_UART1RX, MX1_INT_UART1TX, MX1_INT_UART1RTS, pdata) | 16 | #define imx1_add_imx_uart(id, pdata) \ |
17 | #define imx1_add_imx_uart1(pdata) \ | 17 | imx_add_imx_uart_3irq(&imx1_imx_uart_data[id], pdata) |
18 | imx_add_imx_uart_3irq(0, MX1_UART2_BASE_ADDR, 0xd0, MX1_INT_UART2RX, MX1_INT_UART2TX, MX1_INT_UART2RTS, pdata) | 18 | #define imx1_add_imx_uart0(pdata) imx1_add_imx_uart(0, pdata) |
19 | #define imx1_add_imx_uart1(pdata) imx1_add_imx_uart(1, pdata) | ||