diff options
Diffstat (limited to 'arch/arm/mach-mx2/devices.h')
-rw-r--r-- | arch/arm/mach-mx2/devices.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h index 97306aa18f1c..f15df2aaae4d 100644 --- a/arch/arm/mach-mx2/devices.h +++ b/arch/arm/mach-mx2/devices.h | |||
@@ -1,8 +1,10 @@ | |||
1 | extern struct platform_device mxc_gpt1; | 1 | extern struct platform_device mxc_gpt1; |
2 | extern struct platform_device mxc_gpt2; | 2 | extern struct platform_device mxc_gpt2; |
3 | #ifdef CONFIG_MACH_MX27 | ||
3 | extern struct platform_device mxc_gpt3; | 4 | extern struct platform_device mxc_gpt3; |
4 | extern struct platform_device mxc_gpt4; | 5 | extern struct platform_device mxc_gpt4; |
5 | extern struct platform_device mxc_gpt5; | 6 | extern struct platform_device mxc_gpt5; |
7 | #endif | ||
6 | extern struct platform_device mxc_wdt; | 8 | extern struct platform_device mxc_wdt; |
7 | extern struct platform_device mxc_uart_device0; | 9 | extern struct platform_device mxc_uart_device0; |
8 | extern struct platform_device mxc_uart_device1; | 10 | extern struct platform_device mxc_uart_device1; |
@@ -11,12 +13,19 @@ extern struct platform_device mxc_uart_device3; | |||
11 | extern struct platform_device mxc_uart_device4; | 13 | extern struct platform_device mxc_uart_device4; |
12 | extern struct platform_device mxc_uart_device5; | 14 | extern struct platform_device mxc_uart_device5; |
13 | extern struct platform_device mxc_w1_master_device; | 15 | extern struct platform_device mxc_w1_master_device; |
14 | extern struct platform_device mxc_nand_device; | 16 | #ifdef CONFIG_MACH_MX21 |
17 | extern struct platform_device imx21_nand_device; | ||
18 | #endif | ||
19 | #ifdef CONFIG_MACH_MX27 | ||
20 | extern struct platform_device imx27_nand_device; | ||
21 | #endif | ||
15 | extern struct platform_device mxc_fb_device; | 22 | extern struct platform_device mxc_fb_device; |
16 | extern struct platform_device mxc_fec_device; | 23 | extern struct platform_device mxc_fec_device; |
17 | extern struct platform_device mxc_pwm_device; | 24 | extern struct platform_device mxc_pwm_device; |
18 | extern struct platform_device mxc_i2c_device0; | 25 | extern struct platform_device mxc_i2c_device0; |
26 | #ifdef CONFIG_MACH_MX27 | ||
19 | extern struct platform_device mxc_i2c_device1; | 27 | extern struct platform_device mxc_i2c_device1; |
28 | #endif | ||
20 | extern struct platform_device mxc_sdhc_device0; | 29 | extern struct platform_device mxc_sdhc_device0; |
21 | extern struct platform_device mxc_sdhc_device1; | 30 | extern struct platform_device mxc_sdhc_device1; |
22 | extern struct platform_device mxc_otg_udc_device; | 31 | extern struct platform_device mxc_otg_udc_device; |
@@ -25,6 +34,8 @@ extern struct platform_device mxc_usbh1; | |||
25 | extern struct platform_device mxc_usbh2; | 34 | extern struct platform_device mxc_usbh2; |
26 | extern struct platform_device mxc_spi_device0; | 35 | extern struct platform_device mxc_spi_device0; |
27 | extern struct platform_device mxc_spi_device1; | 36 | extern struct platform_device mxc_spi_device1; |
37 | #ifdef CONFIG_MACH_MX27 | ||
28 | extern struct platform_device mxc_spi_device2; | 38 | extern struct platform_device mxc_spi_device2; |
39 | #endif | ||
29 | extern struct platform_device imx_ssi_device0; | 40 | extern struct platform_device imx_ssi_device0; |
30 | extern struct platform_device imx_ssi_device1; | 41 | extern struct platform_device imx_ssi_device1; |