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 /arch/arm/mach-imx/devices-imx21.h | |
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>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx21.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 22 |
1 files changed, 11 insertions, 11 deletions
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) |