diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-11 09:56:40 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-25 02:39:58 -0500 |
commit | cf3567aaad0304410e465a55313c8f0d25ef306d (patch) | |
tree | 03a13b3b00adb99515dca16bae67170308e79156 /arch/arm/mach-mxs/devices-mx28.h | |
parent | 47d37d6f94ccf32d302492f969209930b2411f9e (diff) |
ARM MXS: Add auart platform support for i.MX28
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/devices-mx28.h')
-rw-r--r-- | arch/arm/mach-mxs/devices-mx28.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx28.h b/arch/arm/mach-mxs/devices-mx28.h index 33773a6333a2..1ab7bf0aa458 100644 --- a/arch/arm/mach-mxs/devices-mx28.h +++ b/arch/arm/mach-mxs/devices-mx28.h | |||
@@ -15,6 +15,14 @@ extern const struct amba_device mx28_duart_device __initconst; | |||
15 | #define mx28_add_duart() \ | 15 | #define mx28_add_duart() \ |
16 | mxs_add_duart(&mx28_duart_device) | 16 | mxs_add_duart(&mx28_duart_device) |
17 | 17 | ||
18 | extern const struct mxs_auart_data mx28_auart_data[] __initconst; | ||
19 | #define mx28_add_auart(id) mxs_add_auart(&mx28_auart_data[id]) | ||
20 | #define mx28_add_auart0() mx28_add_auart(0) | ||
21 | #define mx28_add_auart1() mx28_add_auart(1) | ||
22 | #define mx28_add_auart2() mx28_add_auart(2) | ||
23 | #define mx28_add_auart3() mx28_add_auart(3) | ||
24 | #define mx28_add_auart4() mx28_add_auart(4) | ||
25 | |||
18 | extern const struct mxs_fec_data mx28_fec_data[] __initconst; | 26 | extern const struct mxs_fec_data mx28_fec_data[] __initconst; |
19 | #define mx28_add_fec(id, pdata) \ | 27 | #define mx28_add_fec(id, pdata) \ |
20 | mxs_add_fec(&mx28_fec_data[id], pdata) | 28 | mxs_add_fec(&mx28_fec_data[id], pdata) |