diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-04 08:11:02 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-08 05:47:00 -0500 |
commit | 2b84a3640ffdebbbea3ec004eae963e920c16e1a (patch) | |
tree | 87a5732425f7f3d92ad6099f85c4e462dfed5c10 /arch/arm/mach-mx2/devices.h | |
parent | 68c94b40b31926f627573a7f656b903f6644744e (diff) |
arm/mx2: use cpp magic to create imx_gpt devices
This makes the source shorter and easier to verify. While at it switch
to use the SoC-prefixed constants.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/devices.h')
-rw-r--r-- | arch/arm/mach-mx2/devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h index e13a352f0b8a..a0c6e1ad22d2 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; |