mirror of https://gitee.com/openkylin/linux.git
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
#ifdef CONFIG_ARCH_MX1
|
|
extern struct platform_device imx1_camera_device;
|
|
extern struct platform_device imx1_uart_device0;
|
|
extern struct platform_device imx1_uart_device1;
|
|
extern struct platform_device imx_rtc_device;
|
|
extern struct platform_device imx_wdt_device;
|
|
extern struct platform_device imx_usb_device;
|
|
#endif
|
|
|
|
#if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27)
|
|
extern struct platform_device mxc_gpt1;
|
|
extern struct platform_device mxc_gpt2;
|
|
#ifdef CONFIG_MACH_MX27
|
|
extern struct platform_device mxc_gpt3;
|
|
extern struct platform_device mxc_gpt4;
|
|
extern struct platform_device mxc_gpt5;
|
|
#endif
|
|
extern struct platform_device mxc_wdt;
|
|
extern struct platform_device imx2x_uart_device0;
|
|
extern struct platform_device imx2x_uart_device1;
|
|
extern struct platform_device imx2x_uart_device2;
|
|
extern struct platform_device imx2x_uart_device3;
|
|
#ifdef CONFIG_MACH_MX27
|
|
extern struct platform_device imx2x_uart_device4;
|
|
extern struct platform_device imx2x_uart_device5;
|
|
#endif
|
|
extern struct platform_device mxc_w1_master_device;
|
|
extern struct platform_device mxc_fb_device;
|
|
extern struct platform_device mxc_fec_device;
|
|
extern struct platform_device mxc_pwm_device;
|
|
extern struct platform_device mxc_sdhc_device0;
|
|
extern struct platform_device mxc_sdhc_device1;
|
|
extern struct platform_device mxc_otg_udc_device;
|
|
extern struct platform_device mxc_otg_host;
|
|
extern struct platform_device mxc_usbh1;
|
|
extern struct platform_device mxc_usbh2;
|
|
extern struct platform_device mxc_spi_device0;
|
|
extern struct platform_device mxc_spi_device1;
|
|
#ifdef CONFIG_MACH_MX27
|
|
extern struct platform_device mxc_spi_device2;
|
|
#endif
|
|
extern struct platform_device mx21_usbhc_device;
|
|
extern struct platform_device imx_ssi_device0;
|
|
extern struct platform_device imx_ssi_device1;
|
|
#endif
|