arm/mx2: define seperate imx_nand devices for imx21 and imx27
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-mx2 / devices.h
blob02e5dd203095b50ba3f0a237aac2d60a891b6452
1 extern struct platform_device mxc_gpt1;
2 extern struct platform_device mxc_gpt2;
3 #ifdef CONFIG_MACH_MX27
4 extern struct platform_device mxc_gpt3;
5 extern struct platform_device mxc_gpt4;
6 extern struct platform_device mxc_gpt5;
7 #endif
8 extern struct platform_device mxc_wdt;
9 extern struct platform_device mxc_uart_device0;
10 extern struct platform_device mxc_uart_device1;
11 extern struct platform_device mxc_uart_device2;
12 extern struct platform_device mxc_uart_device3;
13 extern struct platform_device mxc_uart_device4;
14 extern struct platform_device mxc_uart_device5;
15 extern struct platform_device mxc_w1_master_device;
16 #ifdef CONFIG_MACH_MX21
17 extern struct platform_device imx21_nand_device;
18 #define mxc_nand_device imx21_nand_device
19 #endif
20 #ifdef CONFIG_MACH_MX27
21 extern struct platform_device imx27_nand_device;
22 #ifndef CONFIG_MACH_MX21
23 #define mxc_nand_device imx27_nand_device
24 #endif
25 #endif
26 extern struct platform_device mxc_fb_device;
27 extern struct platform_device mxc_fec_device;
28 extern struct platform_device mxc_pwm_device;
29 extern struct platform_device mxc_i2c_device0;
30 #ifdef CONFIG_MACH_MX27
31 extern struct platform_device mxc_i2c_device1;
32 #endif
33 extern struct platform_device mxc_sdhc_device0;
34 extern struct platform_device mxc_sdhc_device1;
35 extern struct platform_device mxc_otg_udc_device;
36 extern struct platform_device mxc_otg_host;
37 extern struct platform_device mxc_usbh1;
38 extern struct platform_device mxc_usbh2;
39 extern struct platform_device mxc_spi_device0;
40 extern struct platform_device mxc_spi_device1;
41 #ifdef CONFIG_MACH_MX27
42 extern struct platform_device mxc_spi_device2;
43 #endif
44 extern struct platform_device imx_ssi_device0;
45 extern struct platform_device imx_ssi_device1;