diff options
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx35.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index f6a431a4c3d2..af0bc1f86237 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h | |||
@@ -31,7 +31,8 @@ | |||
31 | #define imx35_add_mxc_nand(pdata) \ | 31 | #define imx35_add_mxc_nand(pdata) \ |
32 | imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata) | 32 | imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata) |
33 | 33 | ||
34 | #define imx35_add_spi_imx0(pdata) \ | 34 | extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst; |
35 | imx_add_spi_imx(0, MX35_CSPI1_BASE_ADDR, SZ_4K, MX35_INT_CSPI1, pdata) | 35 | #define imx35_add_cspi(id, pdata) \ |
36 | #define imx35_add_spi_imx1(pdata) \ | 36 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) |
37 | imx_add_spi_imx(1, MX35_CSPI2_BASE_ADDR, SZ_4K, MX35_INT_CSPI2, pdata) | 37 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) |
38 | #define imx35_add_spi_imx1(pdata) imx35_add_cspi(1, pdata) | ||