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-mx5 | |
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-mx5')
-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 |
3 files changed, 20 insertions, 22 deletions
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]) |