i.MX2: make SoC devices globally available
Make SoC devices globally available to boards rather than using a device specific init function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
15
arch/arm/mach-mx2/devices.h
Normal file
15
arch/arm/mach-mx2/devices.h
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
extern struct platform_device mxc_gpt1;
|
||||
extern struct platform_device mxc_gpt2;
|
||||
extern struct platform_device mxc_gpt3;
|
||||
extern struct platform_device mxc_gpt4;
|
||||
extern struct platform_device mxc_gpt5;
|
||||
extern struct platform_device mxc_wdt;
|
||||
extern struct platform_device mxc_irda_device;
|
||||
extern struct platform_device mxc_uart_device0;
|
||||
extern struct platform_device mxc_uart_device1;
|
||||
extern struct platform_device mxc_uart_device2;
|
||||
extern struct platform_device mxc_uart_device3;
|
||||
extern struct platform_device mxc_uart_device4;
|
||||
extern struct platform_device mxc_uart_device5;
|
||||
|
Reference in New Issue
Block a user