diff options
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx27.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h index f1272d4b5a33..7f97a3cdd41d 100644 --- a/arch/arm/mach-imx/devices-imx27.h +++ b/arch/arm/mach-imx/devices-imx27.h | |||
@@ -9,35 +9,35 @@ | |||
9 | #include <mach/mx27.h> | 9 | #include <mach/mx27.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx27_fec_data __initconst; | 12 | extern const struct imx_fec_data imx27_fec_data; |
13 | #define imx27_add_fec(pdata) \ | 13 | #define imx27_add_fec(pdata) \ |
14 | imx_add_fec(&imx27_fec_data, pdata) | 14 | imx_add_fec(&imx27_fec_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_fsl_usb2_udc_data imx27_fsl_usb2_udc_data __initconst; | 16 | extern const struct imx_fsl_usb2_udc_data imx27_fsl_usb2_udc_data; |
17 | #define imx27_add_fsl_usb2_udc(pdata) \ | 17 | #define imx27_add_fsl_usb2_udc(pdata) \ |
18 | imx_add_fsl_usb2_udc(&imx27_fsl_usb2_udc_data, pdata) | 18 | imx_add_fsl_usb2_udc(&imx27_fsl_usb2_udc_data, pdata) |
19 | 19 | ||
20 | extern const struct imx_imx2_wdt_data imx27_imx2_wdt_data __initconst; | 20 | extern const struct imx_imx2_wdt_data imx27_imx2_wdt_data; |
21 | #define imx27_add_imx2_wdt(pdata) \ | 21 | #define imx27_add_imx2_wdt(pdata) \ |
22 | imx_add_imx2_wdt(&imx27_imx2_wdt_data) | 22 | imx_add_imx2_wdt(&imx27_imx2_wdt_data) |
23 | 23 | ||
24 | extern const struct imx_imx_fb_data imx27_imx_fb_data __initconst; | 24 | extern const struct imx_imx_fb_data imx27_imx_fb_data; |
25 | #define imx27_add_imx_fb(pdata) \ | 25 | #define imx27_add_imx_fb(pdata) \ |
26 | imx_add_imx_fb(&imx27_imx_fb_data, pdata) | 26 | imx_add_imx_fb(&imx27_imx_fb_data, pdata) |
27 | 27 | ||
28 | extern const struct imx_imx_i2c_data imx27_imx_i2c_data[] __initconst; | 28 | extern const struct imx_imx_i2c_data imx27_imx_i2c_data[]; |
29 | #define imx27_add_imx_i2c(id, pdata) \ | 29 | #define imx27_add_imx_i2c(id, pdata) \ |
30 | imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata) | 30 | imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata) |
31 | 31 | ||
32 | extern const struct imx_imx_keypad_data imx27_imx_keypad_data __initconst; | 32 | extern const struct imx_imx_keypad_data imx27_imx_keypad_data; |
33 | #define imx27_add_imx_keypad(pdata) \ | 33 | #define imx27_add_imx_keypad(pdata) \ |
34 | imx_add_imx_keypad(&imx27_imx_keypad_data, pdata) | 34 | imx_add_imx_keypad(&imx27_imx_keypad_data, pdata) |
35 | 35 | ||
36 | extern const struct imx_imx_ssi_data imx27_imx_ssi_data[] __initconst; | 36 | extern const struct imx_imx_ssi_data imx27_imx_ssi_data[]; |
37 | #define imx27_add_imx_ssi(id, pdata) \ | 37 | #define imx27_add_imx_ssi(id, pdata) \ |
38 | imx_add_imx_ssi(&imx27_imx_ssi_data[id], pdata) | 38 | imx_add_imx_ssi(&imx27_imx_ssi_data[id], pdata) |
39 | 39 | ||
40 | extern const struct imx_imx_uart_1irq_data imx27_imx_uart_data[] __initconst; | 40 | extern const struct imx_imx_uart_1irq_data imx27_imx_uart_data[]; |
41 | #define imx27_add_imx_uart(id, pdata) \ | 41 | #define imx27_add_imx_uart(id, pdata) \ |
42 | imx_add_imx_uart_1irq(&imx27_imx_uart_data[id], pdata) | 42 | imx_add_imx_uart_1irq(&imx27_imx_uart_data[id], pdata) |
43 | #define imx27_add_imx_uart0(pdata) imx27_add_imx_uart(0, pdata) | 43 | #define imx27_add_imx_uart0(pdata) imx27_add_imx_uart(0, pdata) |
@@ -47,30 +47,30 @@ extern const struct imx_imx_uart_1irq_data imx27_imx_uart_data[] __initconst; | |||
47 | #define imx27_add_imx_uart4(pdata) imx27_add_imx_uart(4, pdata) | 47 | #define imx27_add_imx_uart4(pdata) imx27_add_imx_uart(4, pdata) |
48 | #define imx27_add_imx_uart5(pdata) imx27_add_imx_uart(5, pdata) | 48 | #define imx27_add_imx_uart5(pdata) imx27_add_imx_uart(5, pdata) |
49 | 49 | ||
50 | extern const struct imx_mx2_camera_data imx27_mx2_camera_data __initconst; | 50 | extern const struct imx_mx2_camera_data imx27_mx2_camera_data; |
51 | #define imx27_add_mx2_camera(pdata) \ | 51 | #define imx27_add_mx2_camera(pdata) \ |
52 | imx_add_mx2_camera(&imx27_mx2_camera_data, pdata) | 52 | imx_add_mx2_camera(&imx27_mx2_camera_data, pdata) |
53 | 53 | ||
54 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_otg_data __initconst; | 54 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_otg_data; |
55 | #define imx27_add_mxc_ehci_otg(pdata) \ | 55 | #define imx27_add_mxc_ehci_otg(pdata) \ |
56 | imx_add_mxc_ehci(&imx27_mxc_ehci_otg_data, pdata) | 56 | imx_add_mxc_ehci(&imx27_mxc_ehci_otg_data, pdata) |
57 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_hs_data[] __initconst; | 57 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_hs_data[]; |
58 | #define imx27_add_mxc_ehci_hs(id, pdata) \ | 58 | #define imx27_add_mxc_ehci_hs(id, pdata) \ |
59 | imx_add_mxc_ehci(&imx27_mxc_ehci_hs_data[id - 1], pdata) | 59 | imx_add_mxc_ehci(&imx27_mxc_ehci_hs_data[id - 1], pdata) |
60 | 60 | ||
61 | extern const struct imx_mxc_mmc_data imx27_mxc_mmc_data[] __initconst; | 61 | extern const struct imx_mxc_mmc_data imx27_mxc_mmc_data[]; |
62 | #define imx27_add_mxc_mmc(id, pdata) \ | 62 | #define imx27_add_mxc_mmc(id, pdata) \ |
63 | imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) | 63 | imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) |
64 | 64 | ||
65 | extern const struct imx_mxc_nand_data imx27_mxc_nand_data __initconst; | 65 | extern const struct imx_mxc_nand_data imx27_mxc_nand_data; |
66 | #define imx27_add_mxc_nand(pdata) \ | 66 | #define imx27_add_mxc_nand(pdata) \ |
67 | imx_add_mxc_nand(&imx27_mxc_nand_data, pdata) | 67 | imx_add_mxc_nand(&imx27_mxc_nand_data, pdata) |
68 | 68 | ||
69 | extern const struct imx_mxc_w1_data imx27_mxc_w1_data __initconst; | 69 | extern const struct imx_mxc_w1_data imx27_mxc_w1_data; |
70 | #define imx27_add_mxc_w1(pdata) \ | 70 | #define imx27_add_mxc_w1(pdata) \ |
71 | imx_add_mxc_w1(&imx27_mxc_w1_data) | 71 | imx_add_mxc_w1(&imx27_mxc_w1_data) |
72 | 72 | ||
73 | extern const struct imx_spi_imx_data imx27_cspi_data[] __initconst; | 73 | extern const struct imx_spi_imx_data imx27_cspi_data[]; |
74 | #define imx27_add_cspi(id, pdata) \ | 74 | #define imx27_add_cspi(id, pdata) \ |
75 | imx_add_spi_imx(&imx27_cspi_data[id], pdata) | 75 | imx_add_spi_imx(&imx27_cspi_data[id], pdata) |
76 | #define imx27_add_spi_imx0(pdata) imx27_add_cspi(0, pdata) | 76 | #define imx27_add_spi_imx0(pdata) imx27_add_cspi(0, pdata) |