diff options
author | Richard Zhao <richard.zhao@linaro.org> | 2011-03-31 06:16:23 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 07:11:11 -0400 |
commit | af12e3aed1eeba872d3a90891d7a769c9013ee46 (patch) | |
tree | 5534c6bf43849669d4ce4db1e7594b1c9bff809f | |
parent | c7dae1812a26071ec56d14cfd9f414d5ac1677a3 (diff) |
ARM: imx: clean up the section marks of extern data
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
LAKML-Reference: 1301566583-18947-1-git-send-email-richard.zhao@freescale.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-imx/devices-imx1.h | 8 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 22 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices-imx25.h | 35 | ||||
-rw-r--r-- | arch/arm/mach-imx/devices-imx27.h | 30 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices-imx31.h | 24 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 29 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx50.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 23 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx53.h | 13 |
9 files changed, 93 insertions, 97 deletions
diff --git a/arch/arm/mach-imx/devices-imx1.h b/arch/arm/mach-imx/devices-imx1.h index da593657ff3f..3aad1e70de96 100644 --- a/arch/arm/mach-imx/devices-imx1.h +++ b/arch/arm/mach-imx/devices-imx1.h | |||
@@ -9,21 +9,21 @@ | |||
9 | #include <mach/mx1.h> | 9 | #include <mach/mx1.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_imx_fb_data imx1_imx_fb_data __initconst; | 12 | extern const struct imx_imx_fb_data imx1_imx_fb_data; |
13 | #define imx1_add_imx_fb(pdata) \ | 13 | #define imx1_add_imx_fb(pdata) \ |
14 | imx_add_imx_fb(&imx1_imx_fb_data, pdata) | 14 | imx_add_imx_fb(&imx1_imx_fb_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst; | 16 | extern const struct imx_imx_i2c_data imx1_imx_i2c_data; |
17 | #define imx1_add_imx_i2c(pdata) \ | 17 | #define imx1_add_imx_i2c(pdata) \ |
18 | imx_add_imx_i2c(&imx1_imx_i2c_data, pdata) | 18 | imx_add_imx_i2c(&imx1_imx_i2c_data, pdata) |
19 | 19 | ||
20 | extern const struct imx_imx_uart_3irq_data imx1_imx_uart_data[] __initconst; | 20 | extern const struct imx_imx_uart_3irq_data imx1_imx_uart_data[]; |
21 | #define imx1_add_imx_uart(id, pdata) \ | 21 | #define imx1_add_imx_uart(id, pdata) \ |
22 | imx_add_imx_uart_3irq(&imx1_imx_uart_data[id], pdata) | 22 | imx_add_imx_uart_3irq(&imx1_imx_uart_data[id], pdata) |
23 | #define imx1_add_imx_uart0(pdata) imx1_add_imx_uart(0, pdata) | 23 | #define imx1_add_imx_uart0(pdata) imx1_add_imx_uart(0, pdata) |
24 | #define imx1_add_imx_uart1(pdata) imx1_add_imx_uart(1, pdata) | 24 | #define imx1_add_imx_uart1(pdata) imx1_add_imx_uart(1, pdata) |
25 | 25 | ||
26 | extern const struct imx_spi_imx_data imx1_cspi_data[] __initconst; | 26 | extern const struct imx_spi_imx_data imx1_cspi_data[]; |
27 | #define imx1_add_cspi(id, pdata) \ | 27 | #define imx1_add_cspi(id, pdata) \ |
28 | imx_add_spi_imx(&imx1_cspi_data[id], pdata) | 28 | imx_add_spi_imx(&imx1_cspi_data[id], pdata) |
29 | 29 | ||
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h index 16744d2d9b81..2628e0c474dc 100644 --- a/arch/arm/mach-imx/devices-imx21.h +++ b/arch/arm/mach-imx/devices-imx21.h | |||
@@ -9,31 +9,31 @@ | |||
9 | #include <mach/mx21.h> | 9 | #include <mach/mx21.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data __initconst; | 12 | extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data; |
13 | #define imx21_add_imx21_hcd(pdata) \ | 13 | #define imx21_add_imx21_hcd(pdata) \ |
14 | imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata) | 14 | imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data __initconst; | 16 | extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data; |
17 | #define imx21_add_imx2_wdt(pdata) \ | 17 | #define imx21_add_imx2_wdt(pdata) \ |
18 | imx_add_imx2_wdt(&imx21_imx2_wdt_data) | 18 | imx_add_imx2_wdt(&imx21_imx2_wdt_data) |
19 | 19 | ||
20 | extern const struct imx_imx_fb_data imx21_imx_fb_data __initconst; | 20 | extern const struct imx_imx_fb_data imx21_imx_fb_data; |
21 | #define imx21_add_imx_fb(pdata) \ | 21 | #define imx21_add_imx_fb(pdata) \ |
22 | imx_add_imx_fb(&imx21_imx_fb_data, pdata) | 22 | imx_add_imx_fb(&imx21_imx_fb_data, pdata) |
23 | 23 | ||
24 | extern const struct imx_imx_i2c_data imx21_imx_i2c_data __initconst; | 24 | extern const struct imx_imx_i2c_data imx21_imx_i2c_data; |
25 | #define imx21_add_imx_i2c(pdata) \ | 25 | #define imx21_add_imx_i2c(pdata) \ |
26 | imx_add_imx_i2c(&imx21_imx_i2c_data, pdata) | 26 | imx_add_imx_i2c(&imx21_imx_i2c_data, pdata) |
27 | 27 | ||
28 | extern const struct imx_imx_keypad_data imx21_imx_keypad_data __initconst; | 28 | extern const struct imx_imx_keypad_data imx21_imx_keypad_data; |
29 | #define imx21_add_imx_keypad(pdata) \ | 29 | #define imx21_add_imx_keypad(pdata) \ |
30 | imx_add_imx_keypad(&imx21_imx_keypad_data, pdata) | 30 | imx_add_imx_keypad(&imx21_imx_keypad_data, pdata) |
31 | 31 | ||
32 | extern const struct imx_imx_ssi_data imx21_imx_ssi_data[] __initconst; | 32 | extern const struct imx_imx_ssi_data imx21_imx_ssi_data[]; |
33 | #define imx21_add_imx_ssi(id, pdata) \ | 33 | #define imx21_add_imx_ssi(id, pdata) \ |
34 | imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) | 34 | imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) |
35 | 35 | ||
36 | extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[] __initconst; | 36 | extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[]; |
37 | #define imx21_add_imx_uart(id, pdata) \ | 37 | #define imx21_add_imx_uart(id, pdata) \ |
38 | imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata) | 38 | imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata) |
39 | #define imx21_add_imx_uart0(pdata) imx21_add_imx_uart(0, pdata) | 39 | #define imx21_add_imx_uart0(pdata) imx21_add_imx_uart(0, pdata) |
@@ -41,19 +41,19 @@ extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[] __initconst; | |||
41 | #define imx21_add_imx_uart2(pdata) imx21_add_imx_uart(2, pdata) | 41 | #define imx21_add_imx_uart2(pdata) imx21_add_imx_uart(2, pdata) |
42 | #define imx21_add_imx_uart3(pdata) imx21_add_imx_uart(3, pdata) | 42 | #define imx21_add_imx_uart3(pdata) imx21_add_imx_uart(3, pdata) |
43 | 43 | ||
44 | extern const struct imx_mxc_mmc_data imx21_mxc_mmc_data[] __initconst; | 44 | extern const struct imx_mxc_mmc_data imx21_mxc_mmc_data[]; |
45 | #define imx21_add_mxc_mmc(id, pdata) \ | 45 | #define imx21_add_mxc_mmc(id, pdata) \ |
46 | imx_add_mxc_mmc(&imx21_mxc_mmc_data[id], pdata) | 46 | imx_add_mxc_mmc(&imx21_mxc_mmc_data[id], pdata) |
47 | 47 | ||
48 | extern const struct imx_mxc_nand_data imx21_mxc_nand_data __initconst; | 48 | extern const struct imx_mxc_nand_data imx21_mxc_nand_data; |
49 | #define imx21_add_mxc_nand(pdata) \ | 49 | #define imx21_add_mxc_nand(pdata) \ |
50 | imx_add_mxc_nand(&imx21_mxc_nand_data, pdata) | 50 | imx_add_mxc_nand(&imx21_mxc_nand_data, pdata) |
51 | 51 | ||
52 | extern const struct imx_mxc_w1_data imx21_mxc_w1_data __initconst; | 52 | extern const struct imx_mxc_w1_data imx21_mxc_w1_data; |
53 | #define imx21_add_mxc_w1(pdata) \ | 53 | #define imx21_add_mxc_w1(pdata) \ |
54 | imx_add_mxc_w1(&imx21_mxc_w1_data) | 54 | imx_add_mxc_w1(&imx21_mxc_w1_data) |
55 | 55 | ||
56 | extern const struct imx_spi_imx_data imx21_cspi_data[] __initconst; | 56 | extern const struct imx_spi_imx_data imx21_cspi_data[]; |
57 | #define imx21_add_cspi(id, pdata) \ | 57 | #define imx21_add_cspi(id, pdata) \ |
58 | imx_add_spi_imx(&imx21_cspi_data[id], pdata) | 58 | imx_add_spi_imx(&imx21_cspi_data[id], pdata) |
59 | #define imx21_add_spi_imx0(pdata) imx21_add_cspi(0, pdata) | 59 | #define imx21_add_spi_imx0(pdata) imx21_add_cspi(0, pdata) |
diff --git a/arch/arm/mach-imx/devices-imx25.h b/arch/arm/mach-imx/devices-imx25.h index b591d72f6037..efa0761c508d 100644 --- a/arch/arm/mach-imx/devices-imx25.h +++ b/arch/arm/mach-imx/devices-imx25.h | |||
@@ -9,48 +9,48 @@ | |||
9 | #include <mach/mx25.h> | 9 | #include <mach/mx25.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx25_fec_data __initconst; | 12 | extern const struct imx_fec_data imx25_fec_data; |
13 | #define imx25_add_fec(pdata) \ | 13 | #define imx25_add_fec(pdata) \ |
14 | imx_add_fec(&imx25_fec_data, pdata) | 14 | imx_add_fec(&imx25_fec_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_flexcan_data imx25_flexcan_data[] __initconst; | 16 | extern const struct imx_flexcan_data imx25_flexcan_data[]; |
17 | #define imx25_add_flexcan(id, pdata) \ | 17 | #define imx25_add_flexcan(id, pdata) \ |
18 | imx_add_flexcan(&imx25_flexcan_data[id], pdata) | 18 | imx_add_flexcan(&imx25_flexcan_data[id], pdata) |
19 | #define imx25_add_flexcan0(pdata) imx25_add_flexcan(0, pdata) | 19 | #define imx25_add_flexcan0(pdata) imx25_add_flexcan(0, pdata) |
20 | #define imx25_add_flexcan1(pdata) imx25_add_flexcan(1, pdata) | 20 | #define imx25_add_flexcan1(pdata) imx25_add_flexcan(1, pdata) |
21 | 21 | ||
22 | extern const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data __initconst; | 22 | extern const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data; |
23 | #define imx25_add_fsl_usb2_udc(pdata) \ | 23 | #define imx25_add_fsl_usb2_udc(pdata) \ |
24 | imx_add_fsl_usb2_udc(&imx25_fsl_usb2_udc_data, pdata) | 24 | imx_add_fsl_usb2_udc(&imx25_fsl_usb2_udc_data, pdata) |
25 | 25 | ||
26 | extern struct imx_imxdi_rtc_data imx25_imxdi_rtc_data __initconst; | 26 | extern struct imx_imxdi_rtc_data imx25_imxdi_rtc_data; |
27 | #define imx25_add_imxdi_rtc(pdata) \ | 27 | #define imx25_add_imxdi_rtc(pdata) \ |
28 | imx_add_imxdi_rtc(&imx25_imxdi_rtc_data) | 28 | imx_add_imxdi_rtc(&imx25_imxdi_rtc_data) |
29 | 29 | ||
30 | extern const struct imx_imx2_wdt_data imx25_imx2_wdt_data __initconst; | 30 | extern const struct imx_imx2_wdt_data imx25_imx2_wdt_data; |
31 | #define imx25_add_imx2_wdt(pdata) \ | 31 | #define imx25_add_imx2_wdt(pdata) \ |
32 | imx_add_imx2_wdt(&imx25_imx2_wdt_data) | 32 | imx_add_imx2_wdt(&imx25_imx2_wdt_data) |
33 | 33 | ||
34 | extern const struct imx_imx_fb_data imx25_imx_fb_data __initconst; | 34 | extern const struct imx_imx_fb_data imx25_imx_fb_data; |
35 | #define imx25_add_imx_fb(pdata) \ | 35 | #define imx25_add_imx_fb(pdata) \ |
36 | imx_add_imx_fb(&imx25_imx_fb_data, pdata) | 36 | imx_add_imx_fb(&imx25_imx_fb_data, pdata) |
37 | 37 | ||
38 | extern const struct imx_imx_i2c_data imx25_imx_i2c_data[] __initconst; | 38 | extern const struct imx_imx_i2c_data imx25_imx_i2c_data[]; |
39 | #define imx25_add_imx_i2c(id, pdata) \ | 39 | #define imx25_add_imx_i2c(id, pdata) \ |
40 | imx_add_imx_i2c(&imx25_imx_i2c_data[id], pdata) | 40 | imx_add_imx_i2c(&imx25_imx_i2c_data[id], pdata) |
41 | #define imx25_add_imx_i2c0(pdata) imx25_add_imx_i2c(0, pdata) | 41 | #define imx25_add_imx_i2c0(pdata) imx25_add_imx_i2c(0, pdata) |
42 | #define imx25_add_imx_i2c1(pdata) imx25_add_imx_i2c(1, pdata) | 42 | #define imx25_add_imx_i2c1(pdata) imx25_add_imx_i2c(1, pdata) |
43 | #define imx25_add_imx_i2c2(pdata) imx25_add_imx_i2c(2, pdata) | 43 | #define imx25_add_imx_i2c2(pdata) imx25_add_imx_i2c(2, pdata) |
44 | 44 | ||
45 | extern const struct imx_imx_keypad_data imx25_imx_keypad_data __initconst; | 45 | extern const struct imx_imx_keypad_data imx25_imx_keypad_data; |
46 | #define imx25_add_imx_keypad(pdata) \ | 46 | #define imx25_add_imx_keypad(pdata) \ |
47 | imx_add_imx_keypad(&imx25_imx_keypad_data, pdata) | 47 | imx_add_imx_keypad(&imx25_imx_keypad_data, pdata) |
48 | 48 | ||
49 | extern const struct imx_imx_ssi_data imx25_imx_ssi_data[] __initconst; | 49 | extern const struct imx_imx_ssi_data imx25_imx_ssi_data[]; |
50 | #define imx25_add_imx_ssi(id, pdata) \ | 50 | #define imx25_add_imx_ssi(id, pdata) \ |
51 | imx_add_imx_ssi(&imx25_imx_ssi_data[id], pdata) | 51 | imx_add_imx_ssi(&imx25_imx_ssi_data[id], pdata) |
52 | 52 | ||
53 | extern const struct imx_imx_uart_1irq_data imx25_imx_uart_data[] __initconst; | 53 | extern const struct imx_imx_uart_1irq_data imx25_imx_uart_data[]; |
54 | #define imx25_add_imx_uart(id, pdata) \ | 54 | #define imx25_add_imx_uart(id, pdata) \ |
55 | imx_add_imx_uart_1irq(&imx25_imx_uart_data[id], pdata) | 55 | imx_add_imx_uart_1irq(&imx25_imx_uart_data[id], pdata) |
56 | #define imx25_add_imx_uart0(pdata) imx25_add_imx_uart(0, pdata) | 56 | #define imx25_add_imx_uart0(pdata) imx25_add_imx_uart(0, pdata) |
@@ -59,33 +59,32 @@ extern const struct imx_imx_uart_1irq_data imx25_imx_uart_data[] __initconst; | |||
59 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) | 59 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) |
60 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) | 60 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) |
61 | 61 | ||
62 | extern const struct imx_mx2_camera_data imx25_mx2_camera_data __initconst; | 62 | extern const struct imx_mx2_camera_data imx25_mx2_camera_data; |
63 | #define imx25_add_mx2_camera(pdata) \ | 63 | #define imx25_add_mx2_camera(pdata) \ |
64 | imx_add_mx2_camera(&imx25_mx2_camera_data, pdata) | 64 | imx_add_mx2_camera(&imx25_mx2_camera_data, pdata) |
65 | 65 | ||
66 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data __initconst; | 66 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data; |
67 | #define imx25_add_mxc_ehci_otg(pdata) \ | 67 | #define imx25_add_mxc_ehci_otg(pdata) \ |
68 | imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) | 68 | imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) |
69 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_hs_data __initconst; | 69 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_hs_data; |
70 | #define imx25_add_mxc_ehci_hs(pdata) \ | 70 | #define imx25_add_mxc_ehci_hs(pdata) \ |
71 | imx_add_mxc_ehci(&imx25_mxc_ehci_hs_data, pdata) | 71 | imx_add_mxc_ehci(&imx25_mxc_ehci_hs_data, pdata) |
72 | 72 | ||
73 | extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst; | 73 | extern const struct imx_mxc_nand_data imx25_mxc_nand_data; |
74 | #define imx25_add_mxc_nand(pdata) \ | 74 | #define imx25_add_mxc_nand(pdata) \ |
75 | imx_add_mxc_nand(&imx25_mxc_nand_data, pdata) | 75 | imx_add_mxc_nand(&imx25_mxc_nand_data, pdata) |
76 | 76 | ||
77 | extern const struct imx_sdhci_esdhc_imx_data | 77 | extern const struct imx_sdhci_esdhc_imx_data imx25_sdhci_esdhc_imx_data[]; |
78 | imx25_sdhci_esdhc_imx_data[] __initconst; | ||
79 | #define imx25_add_sdhci_esdhc_imx(id, pdata) \ | 78 | #define imx25_add_sdhci_esdhc_imx(id, pdata) \ |
80 | imx_add_sdhci_esdhc_imx(&imx25_sdhci_esdhc_imx_data[id], pdata) | 79 | imx_add_sdhci_esdhc_imx(&imx25_sdhci_esdhc_imx_data[id], pdata) |
81 | 80 | ||
82 | extern const struct imx_spi_imx_data imx25_cspi_data[] __initconst; | 81 | extern const struct imx_spi_imx_data imx25_cspi_data[]; |
83 | #define imx25_add_spi_imx(id, pdata) \ | 82 | #define imx25_add_spi_imx(id, pdata) \ |
84 | imx_add_spi_imx(&imx25_cspi_data[id], pdata) | 83 | imx_add_spi_imx(&imx25_cspi_data[id], pdata) |
85 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) | 84 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) |
86 | #define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata) | 85 | #define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata) |
87 | #define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata) | 86 | #define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata) |
88 | 87 | ||
89 | extern struct imx_mxc_pwm_data imx25_mxc_pwm_data[] __initconst; | 88 | extern struct imx_mxc_pwm_data imx25_mxc_pwm_data[]; |
90 | #define imx25_add_mxc_pwm(id) \ | 89 | #define imx25_add_mxc_pwm(id) \ |
91 | imx_add_mxc_pwm(&imx25_mxc_pwm_data[id]) | 90 | imx_add_mxc_pwm(&imx25_mxc_pwm_data[id]) |
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) |
diff --git a/arch/arm/mach-mx3/devices-imx31.h b/arch/arm/mach-mx3/devices-imx31.h index 40f4e848a671..cf621d273aa3 100644 --- a/arch/arm/mach-mx3/devices-imx31.h +++ b/arch/arm/mach-mx3/devices-imx31.h | |||
@@ -9,30 +9,30 @@ | |||
9 | #include <mach/mx31.h> | 9 | #include <mach/mx31.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fsl_usb2_udc_data imx31_fsl_usb2_udc_data __initconst; | 12 | extern const struct imx_fsl_usb2_udc_data imx31_fsl_usb2_udc_data; |
13 | #define imx31_add_fsl_usb2_udc(pdata) \ | 13 | #define imx31_add_fsl_usb2_udc(pdata) \ |
14 | imx_add_fsl_usb2_udc(&imx31_fsl_usb2_udc_data, pdata) | 14 | imx_add_fsl_usb2_udc(&imx31_fsl_usb2_udc_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_imx2_wdt_data imx31_imx2_wdt_data __initconst; | 16 | extern const struct imx_imx2_wdt_data imx31_imx2_wdt_data; |
17 | #define imx31_add_imx2_wdt(pdata) \ | 17 | #define imx31_add_imx2_wdt(pdata) \ |
18 | imx_add_imx2_wdt(&imx31_imx2_wdt_data) | 18 | imx_add_imx2_wdt(&imx31_imx2_wdt_data) |
19 | 19 | ||
20 | extern const struct imx_imx_i2c_data imx31_imx_i2c_data[] __initconst; | 20 | extern const struct imx_imx_i2c_data imx31_imx_i2c_data[]; |
21 | #define imx31_add_imx_i2c(id, pdata) \ | 21 | #define imx31_add_imx_i2c(id, pdata) \ |
22 | imx_add_imx_i2c(&imx31_imx_i2c_data[id], pdata) | 22 | imx_add_imx_i2c(&imx31_imx_i2c_data[id], pdata) |
23 | #define imx31_add_imx_i2c0(pdata) imx31_add_imx_i2c(0, pdata) | 23 | #define imx31_add_imx_i2c0(pdata) imx31_add_imx_i2c(0, pdata) |
24 | #define imx31_add_imx_i2c1(pdata) imx31_add_imx_i2c(1, pdata) | 24 | #define imx31_add_imx_i2c1(pdata) imx31_add_imx_i2c(1, pdata) |
25 | #define imx31_add_imx_i2c2(pdata) imx31_add_imx_i2c(2, pdata) | 25 | #define imx31_add_imx_i2c2(pdata) imx31_add_imx_i2c(2, pdata) |
26 | 26 | ||
27 | extern const struct imx_imx_keypad_data imx31_imx_keypad_data __initconst; | 27 | extern const struct imx_imx_keypad_data imx31_imx_keypad_data; |
28 | #define imx31_add_imx_keypad(pdata) \ | 28 | #define imx31_add_imx_keypad(pdata) \ |
29 | imx_add_imx_keypad(&imx31_imx_keypad_data, pdata) | 29 | imx_add_imx_keypad(&imx31_imx_keypad_data, pdata) |
30 | 30 | ||
31 | extern const struct imx_imx_ssi_data imx31_imx_ssi_data[] __initconst; | 31 | extern const struct imx_imx_ssi_data imx31_imx_ssi_data[]; |
32 | #define imx31_add_imx_ssi(id, pdata) \ | 32 | #define imx31_add_imx_ssi(id, pdata) \ |
33 | imx_add_imx_ssi(&imx31_imx_ssi_data[id], pdata) | 33 | imx_add_imx_ssi(&imx31_imx_ssi_data[id], pdata) |
34 | 34 | ||
35 | extern const struct imx_imx_uart_1irq_data imx31_imx_uart_data[] __initconst; | 35 | extern const struct imx_imx_uart_1irq_data imx31_imx_uart_data[]; |
36 | #define imx31_add_imx_uart(id, pdata) \ | 36 | #define imx31_add_imx_uart(id, pdata) \ |
37 | imx_add_imx_uart_1irq(&imx31_imx_uart_data[id], pdata) | 37 | imx_add_imx_uart_1irq(&imx31_imx_uart_data[id], pdata) |
38 | #define imx31_add_imx_uart0(pdata) imx31_add_imx_uart(0, pdata) | 38 | #define imx31_add_imx_uart0(pdata) imx31_add_imx_uart(0, pdata) |
@@ -41,26 +41,26 @@ extern const struct imx_imx_uart_1irq_data imx31_imx_uart_data[] __initconst; | |||
41 | #define imx31_add_imx_uart3(pdata) imx31_add_imx_uart(3, pdata) | 41 | #define imx31_add_imx_uart3(pdata) imx31_add_imx_uart(3, pdata) |
42 | #define imx31_add_imx_uart4(pdata) imx31_add_imx_uart(4, pdata) | 42 | #define imx31_add_imx_uart4(pdata) imx31_add_imx_uart(4, pdata) |
43 | 43 | ||
44 | extern const struct imx_mxc_ehci_data imx31_mxc_ehci_otg_data __initconst; | 44 | extern const struct imx_mxc_ehci_data imx31_mxc_ehci_otg_data; |
45 | #define imx31_add_mxc_ehci_otg(pdata) \ | 45 | #define imx31_add_mxc_ehci_otg(pdata) \ |
46 | imx_add_mxc_ehci(&imx31_mxc_ehci_otg_data, pdata) | 46 | imx_add_mxc_ehci(&imx31_mxc_ehci_otg_data, pdata) |
47 | extern const struct imx_mxc_ehci_data imx31_mxc_ehci_hs_data[] __initconst; | 47 | extern const struct imx_mxc_ehci_data imx31_mxc_ehci_hs_data[]; |
48 | #define imx31_add_mxc_ehci_hs(id, pdata) \ | 48 | #define imx31_add_mxc_ehci_hs(id, pdata) \ |
49 | imx_add_mxc_ehci(&imx31_mxc_ehci_hs_data[id - 1], pdata) | 49 | imx_add_mxc_ehci(&imx31_mxc_ehci_hs_data[id - 1], pdata) |
50 | 50 | ||
51 | extern const struct imx_mxc_mmc_data imx31_mxc_mmc_data[] __initconst; | 51 | extern const struct imx_mxc_mmc_data imx31_mxc_mmc_data[]; |
52 | #define imx31_add_mxc_mmc(id, pdata) \ | 52 | #define imx31_add_mxc_mmc(id, pdata) \ |
53 | imx_add_mxc_mmc(&imx31_mxc_mmc_data[id], pdata) | 53 | imx_add_mxc_mmc(&imx31_mxc_mmc_data[id], pdata) |
54 | 54 | ||
55 | extern const struct imx_mxc_nand_data imx31_mxc_nand_data __initconst; | 55 | extern const struct imx_mxc_nand_data imx31_mxc_nand_data; |
56 | #define imx31_add_mxc_nand(pdata) \ | 56 | #define imx31_add_mxc_nand(pdata) \ |
57 | imx_add_mxc_nand(&imx31_mxc_nand_data, pdata) | 57 | imx_add_mxc_nand(&imx31_mxc_nand_data, pdata) |
58 | 58 | ||
59 | extern const struct imx_mxc_w1_data imx31_mxc_w1_data __initconst; | 59 | extern const struct imx_mxc_w1_data imx31_mxc_w1_data; |
60 | #define imx31_add_mxc_w1(pdata) \ | 60 | #define imx31_add_mxc_w1(pdata) \ |
61 | imx_add_mxc_w1(&imx31_mxc_w1_data) | 61 | imx_add_mxc_w1(&imx31_mxc_w1_data) |
62 | 62 | ||
63 | extern const struct imx_spi_imx_data imx31_cspi_data[] __initconst; | 63 | extern const struct imx_spi_imx_data imx31_cspi_data[]; |
64 | #define imx31_add_cspi(id, pdata) \ | 64 | #define imx31_add_cspi(id, pdata) \ |
65 | imx_add_spi_imx(&imx31_cspi_data[id], pdata) | 65 | imx_add_spi_imx(&imx31_cspi_data[id], pdata) |
66 | #define imx31_add_spi_imx0(pdata) imx31_add_cspi(0, pdata) | 66 | #define imx31_add_spi_imx0(pdata) imx31_add_cspi(0, pdata) |
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index d545d86cc202..35826656e599 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h | |||
@@ -9,67 +9,66 @@ | |||
9 | #include <mach/mx35.h> | 9 | #include <mach/mx35.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx35_fec_data __initconst; | 12 | extern const struct imx_fec_data imx35_fec_data; |
13 | #define imx35_add_fec(pdata) \ | 13 | #define imx35_add_fec(pdata) \ |
14 | imx_add_fec(&imx35_fec_data, pdata) | 14 | imx_add_fec(&imx35_fec_data, pdata) |
15 | 15 | ||
16 | extern const struct imx_fsl_usb2_udc_data imx35_fsl_usb2_udc_data __initconst; | 16 | extern const struct imx_fsl_usb2_udc_data imx35_fsl_usb2_udc_data; |
17 | #define imx35_add_fsl_usb2_udc(pdata) \ | 17 | #define imx35_add_fsl_usb2_udc(pdata) \ |
18 | imx_add_fsl_usb2_udc(&imx35_fsl_usb2_udc_data, pdata) | 18 | imx_add_fsl_usb2_udc(&imx35_fsl_usb2_udc_data, pdata) |
19 | 19 | ||
20 | extern const struct imx_flexcan_data imx35_flexcan_data[] __initconst; | 20 | extern const struct imx_flexcan_data imx35_flexcan_data[]; |
21 | #define imx35_add_flexcan(id, pdata) \ | 21 | #define imx35_add_flexcan(id, pdata) \ |
22 | imx_add_flexcan(&imx35_flexcan_data[id], pdata) | 22 | imx_add_flexcan(&imx35_flexcan_data[id], pdata) |
23 | #define imx35_add_flexcan0(pdata) imx35_add_flexcan(0, pdata) | 23 | #define imx35_add_flexcan0(pdata) imx35_add_flexcan(0, pdata) |
24 | #define imx35_add_flexcan1(pdata) imx35_add_flexcan(1, pdata) | 24 | #define imx35_add_flexcan1(pdata) imx35_add_flexcan(1, pdata) |
25 | 25 | ||
26 | extern const struct imx_imx2_wdt_data imx35_imx2_wdt_data __initconst; | 26 | extern const struct imx_imx2_wdt_data imx35_imx2_wdt_data; |
27 | #define imx35_add_imx2_wdt(pdata) \ | 27 | #define imx35_add_imx2_wdt(pdata) \ |
28 | imx_add_imx2_wdt(&imx35_imx2_wdt_data) | 28 | imx_add_imx2_wdt(&imx35_imx2_wdt_data) |
29 | 29 | ||
30 | extern const struct imx_imx_i2c_data imx35_imx_i2c_data[] __initconst; | 30 | extern const struct imx_imx_i2c_data imx35_imx_i2c_data[]; |
31 | #define imx35_add_imx_i2c(id, pdata) \ | 31 | #define imx35_add_imx_i2c(id, pdata) \ |
32 | imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) | 32 | imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) |
33 | #define imx35_add_imx_i2c0(pdata) imx35_add_imx_i2c(0, pdata) | 33 | #define imx35_add_imx_i2c0(pdata) imx35_add_imx_i2c(0, pdata) |
34 | #define imx35_add_imx_i2c1(pdata) imx35_add_imx_i2c(1, pdata) | 34 | #define imx35_add_imx_i2c1(pdata) imx35_add_imx_i2c(1, pdata) |
35 | #define imx35_add_imx_i2c2(pdata) imx35_add_imx_i2c(2, pdata) | 35 | #define imx35_add_imx_i2c2(pdata) imx35_add_imx_i2c(2, pdata) |
36 | 36 | ||
37 | extern const struct imx_imx_keypad_data imx35_imx_keypad_data __initconst; | 37 | extern const struct imx_imx_keypad_data imx35_imx_keypad_data; |
38 | #define imx35_add_imx_keypad(pdata) \ | 38 | #define imx35_add_imx_keypad(pdata) \ |
39 | imx_add_imx_keypad(&imx35_imx_keypad_data, pdata) | 39 | imx_add_imx_keypad(&imx35_imx_keypad_data, pdata) |
40 | 40 | ||
41 | extern const struct imx_imx_ssi_data imx35_imx_ssi_data[] __initconst; | 41 | extern const struct imx_imx_ssi_data imx35_imx_ssi_data[]; |
42 | #define imx35_add_imx_ssi(id, pdata) \ | 42 | #define imx35_add_imx_ssi(id, pdata) \ |
43 | imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) | 43 | imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) |
44 | 44 | ||
45 | extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst; | 45 | extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[]; |
46 | #define imx35_add_imx_uart(id, pdata) \ | 46 | #define imx35_add_imx_uart(id, pdata) \ |
47 | imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) | 47 | imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) |
48 | #define imx35_add_imx_uart0(pdata) imx35_add_imx_uart(0, pdata) | 48 | #define imx35_add_imx_uart0(pdata) imx35_add_imx_uart(0, pdata) |
49 | #define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata) | 49 | #define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata) |
50 | #define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata) | 50 | #define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata) |
51 | 51 | ||
52 | extern const struct imx_mxc_ehci_data imx35_mxc_ehci_otg_data __initconst; | 52 | extern const struct imx_mxc_ehci_data imx35_mxc_ehci_otg_data; |
53 | #define imx35_add_mxc_ehci_otg(pdata) \ | 53 | #define imx35_add_mxc_ehci_otg(pdata) \ |
54 | imx_add_mxc_ehci(&imx35_mxc_ehci_otg_data, pdata) | 54 | imx_add_mxc_ehci(&imx35_mxc_ehci_otg_data, pdata) |
55 | extern const struct imx_mxc_ehci_data imx35_mxc_ehci_hs_data __initconst; | 55 | extern const struct imx_mxc_ehci_data imx35_mxc_ehci_hs_data; |
56 | #define imx35_add_mxc_ehci_hs(pdata) \ | 56 | #define imx35_add_mxc_ehci_hs(pdata) \ |
57 | imx_add_mxc_ehci(&imx35_mxc_ehci_hs_data, pdata) | 57 | imx_add_mxc_ehci(&imx35_mxc_ehci_hs_data, pdata) |
58 | 58 | ||
59 | extern const struct imx_mxc_nand_data imx35_mxc_nand_data __initconst; | 59 | extern const struct imx_mxc_nand_data imx35_mxc_nand_data; |
60 | #define imx35_add_mxc_nand(pdata) \ | 60 | #define imx35_add_mxc_nand(pdata) \ |
61 | imx_add_mxc_nand(&imx35_mxc_nand_data, pdata) | 61 | imx_add_mxc_nand(&imx35_mxc_nand_data, pdata) |
62 | 62 | ||
63 | extern const struct imx_mxc_w1_data imx35_mxc_w1_data __initconst; | 63 | extern const struct imx_mxc_w1_data imx35_mxc_w1_data; |
64 | #define imx35_add_mxc_w1(pdata) \ | 64 | #define imx35_add_mxc_w1(pdata) \ |
65 | imx_add_mxc_w1(&imx35_mxc_w1_data) | 65 | imx_add_mxc_w1(&imx35_mxc_w1_data) |
66 | 66 | ||
67 | extern const struct imx_sdhci_esdhc_imx_data | 67 | extern const struct imx_sdhci_esdhc_imx_data imx35_sdhci_esdhc_imx_data[]; |
68 | imx35_sdhci_esdhc_imx_data[] __initconst; | ||
69 | #define imx35_add_sdhci_esdhc_imx(id, pdata) \ | 68 | #define imx35_add_sdhci_esdhc_imx(id, pdata) \ |
70 | imx_add_sdhci_esdhc_imx(&imx35_sdhci_esdhc_imx_data[id], pdata) | 69 | imx_add_sdhci_esdhc_imx(&imx35_sdhci_esdhc_imx_data[id], pdata) |
71 | 70 | ||
72 | extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst; | 71 | extern const struct imx_spi_imx_data imx35_cspi_data[]; |
73 | #define imx35_add_cspi(id, pdata) \ | 72 | #define imx35_add_cspi(id, pdata) \ |
74 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) | 73 | imx_add_spi_imx(&imx35_cspi_data[id], pdata) |
75 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) | 74 | #define imx35_add_spi_imx0(pdata) imx35_add_cspi(0, pdata) |
diff --git a/arch/arm/mach-mx5/devices-imx50.h b/arch/arm/mach-mx5/devices-imx50.h index c9e42823c7e3..7216667eaafc 100644 --- a/arch/arm/mach-mx5/devices-imx50.h +++ b/arch/arm/mach-mx5/devices-imx50.h | |||
@@ -21,14 +21,14 @@ | |||
21 | #include <mach/mx50.h> | 21 | #include <mach/mx50.h> |
22 | #include <mach/devices-common.h> | 22 | #include <mach/devices-common.h> |
23 | 23 | ||
24 | extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[] __initconst; | 24 | extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[]; |
25 | #define imx50_add_imx_uart(id, pdata) \ | 25 | #define imx50_add_imx_uart(id, pdata) \ |
26 | imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata) | 26 | imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata) |
27 | 27 | ||
28 | extern const struct imx_fec_data imx50_fec_data __initconst; | 28 | extern const struct imx_fec_data imx50_fec_data; |
29 | #define imx50_add_fec(pdata) \ | 29 | #define imx50_add_fec(pdata) \ |
30 | imx_add_fec(&imx50_fec_data, pdata) | 30 | imx_add_fec(&imx50_fec_data, pdata) |
31 | 31 | ||
32 | extern const struct imx_imx_i2c_data imx50_imx_i2c_data[] __initconst; | 32 | extern const struct imx_imx_i2c_data imx50_imx_i2c_data[]; |
33 | #define imx50_add_imx_i2c(id, pdata) \ | 33 | #define imx50_add_imx_i2c(id, pdata) \ |
34 | imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata) | 34 | imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata) |
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 7fff485e5603..e3253c506d50 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h | |||
@@ -9,49 +9,48 @@ | |||
9 | #include <mach/mx51.h> | 9 | #include <mach/mx51.h> |
10 | #include <mach/devices-common.h> | 10 | #include <mach/devices-common.h> |
11 | 11 | ||
12 | extern const struct imx_fec_data imx51_fec_data __initconst; | 12 | extern const struct imx_fec_data imx51_fec_data; |
13 | #define imx51_add_fec(pdata) \ | 13 | #define imx51_add_fec(pdata) \ |
14 | imx_add_fec(&imx51_fec_data, pdata) | 14 | imx_add_fec(&imx51_fec_data, pdata) |
15 | 15 | ||
16 | #define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata) | 16 | #define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata) |
17 | 17 | ||
18 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; | 18 | extern const struct imx_imx_i2c_data imx51_imx_i2c_data[]; |
19 | #define imx51_add_imx_i2c(id, pdata) \ | 19 | #define imx51_add_imx_i2c(id, pdata) \ |
20 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) | 20 | imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) |
21 | 21 | ||
22 | extern const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst; | 22 | extern const struct imx_imx_ssi_data imx51_imx_ssi_data[]; |
23 | #define imx51_add_imx_ssi(id, pdata) \ | 23 | #define imx51_add_imx_ssi(id, pdata) \ |
24 | imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata) | 24 | imx_add_imx_ssi(&imx51_imx_ssi_data[id], pdata) |
25 | 25 | ||
26 | extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst; | 26 | extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[]; |
27 | #define imx51_add_imx_uart(id, pdata) \ | 27 | #define imx51_add_imx_uart(id, pdata) \ |
28 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) | 28 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) |
29 | 29 | ||
30 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst; | 30 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data; |
31 | #define imx51_add_mxc_nand(pdata) \ | 31 | #define imx51_add_mxc_nand(pdata) \ |
32 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) | 32 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) |
33 | 33 | ||
34 | extern const struct imx_sdhci_esdhc_imx_data | 34 | extern const struct imx_sdhci_esdhc_imx_data imx51_sdhci_esdhc_imx_data[]; |
35 | imx51_sdhci_esdhc_imx_data[] __initconst; | ||
36 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ | 35 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ |
37 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) | 36 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) |
38 | 37 | ||
39 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; | 38 | extern const struct imx_spi_imx_data imx51_cspi_data; |
40 | #define imx51_add_cspi(pdata) \ | 39 | #define imx51_add_cspi(pdata) \ |
41 | imx_add_spi_imx(&imx51_cspi_data, pdata) | 40 | imx_add_spi_imx(&imx51_cspi_data, pdata) |
42 | 41 | ||
43 | extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst; | 42 | extern const struct imx_spi_imx_data imx51_ecspi_data[]; |
44 | #define imx51_add_ecspi(id, pdata) \ | 43 | #define imx51_add_ecspi(id, pdata) \ |
45 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) | 44 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) |
46 | 45 | ||
47 | extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst; | 46 | extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[]; |
48 | #define imx51_add_imx2_wdt(id, pdata) \ | 47 | #define imx51_add_imx2_wdt(id, pdata) \ |
49 | imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) | 48 | imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) |
50 | 49 | ||
51 | extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst; | 50 | extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[]; |
52 | #define imx51_add_mxc_pwm(id) \ | 51 | #define imx51_add_mxc_pwm(id) \ |
53 | imx_add_mxc_pwm(&imx51_mxc_pwm_data[id]) | 52 | imx_add_mxc_pwm(&imx51_mxc_pwm_data[id]) |
54 | 53 | ||
55 | extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst; | 54 | extern const struct imx_imx_keypad_data imx51_imx_keypad_data; |
56 | #define imx51_add_imx_keypad(pdata) \ | 55 | #define imx51_add_imx_keypad(pdata) \ |
57 | imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) | 56 | imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) |
diff --git a/arch/arm/mach-mx5/devices-imx53.h b/arch/arm/mach-mx5/devices-imx53.h index 9251008dad1f..48f4c8cc42f5 100644 --- a/arch/arm/mach-mx5/devices-imx53.h +++ b/arch/arm/mach-mx5/devices-imx53.h | |||
@@ -8,28 +8,27 @@ | |||
8 | #include <mach/mx53.h> | 8 | #include <mach/mx53.h> |
9 | #include <mach/devices-common.h> | 9 | #include <mach/devices-common.h> |
10 | 10 | ||
11 | extern const struct imx_fec_data imx53_fec_data __initconst; | 11 | extern const struct imx_fec_data imx53_fec_data; |
12 | #define imx53_add_fec(pdata) \ | 12 | #define imx53_add_fec(pdata) \ |
13 | imx_add_fec(&imx53_fec_data, pdata) | 13 | imx_add_fec(&imx53_fec_data, pdata) |
14 | 14 | ||
15 | extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[] __initconst; | 15 | extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[]; |
16 | #define imx53_add_imx_uart(id, pdata) \ | 16 | #define imx53_add_imx_uart(id, pdata) \ |
17 | imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata) | 17 | imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata) |
18 | 18 | ||
19 | 19 | ||
20 | extern const struct imx_imx_i2c_data imx53_imx_i2c_data[] __initconst; | 20 | extern const struct imx_imx_i2c_data imx53_imx_i2c_data[]; |
21 | #define imx53_add_imx_i2c(id, pdata) \ | 21 | #define imx53_add_imx_i2c(id, pdata) \ |
22 | imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata) | 22 | imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata) |
23 | 23 | ||
24 | extern const struct imx_sdhci_esdhc_imx_data | 24 | extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[]; |
25 | imx53_sdhci_esdhc_imx_data[] __initconst; | ||
26 | #define imx53_add_sdhci_esdhc_imx(id, pdata) \ | 25 | #define imx53_add_sdhci_esdhc_imx(id, pdata) \ |
27 | imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) | 26 | imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) |
28 | 27 | ||
29 | extern const struct imx_spi_imx_data imx53_ecspi_data[] __initconst; | 28 | extern const struct imx_spi_imx_data imx53_ecspi_data[]; |
30 | #define imx53_add_ecspi(id, pdata) \ | 29 | #define imx53_add_ecspi(id, pdata) \ |
31 | imx_add_spi_imx(&imx53_ecspi_data[id], pdata) | 30 | imx_add_spi_imx(&imx53_ecspi_data[id], pdata) |
32 | 31 | ||
33 | extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[] __initconst; | 32 | extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[]; |
34 | #define imx53_add_imx2_wdt(id, pdata) \ | 33 | #define imx53_add_imx2_wdt(id, pdata) \ |
35 | imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) | 34 | imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) |