diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2010-12-09 10:12:46 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-12-20 11:30:24 -0500 |
commit | dc38ad4052a50b9e73fdcc970ecdd4f69ee9d97a (patch) | |
tree | ec28c5e9afacaca46ee2ab96cbef939eefe254bc /arch/arm/mach-mxs/devices-mx28.h | |
parent | faff3dc947738ce7c905a4a2936a089d3fa9ddda (diff) |
ARM: mxs: Dynamically allocate duart devices
Dynamically allocate duart devices for MX23 and MX28.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/devices-mx28.h')
-rw-r--r-- | arch/arm/mach-mxs/devices-mx28.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx28.h b/arch/arm/mach-mxs/devices-mx28.h new file mode 100644 index 000000000000..47c2f0408ec3 --- /dev/null +++ b/arch/arm/mach-mxs/devices-mx28.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Pengutronix | ||
3 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | ||
4 | * | ||
5 | * Copyright 2010 Freescale Semiconductor, Inc. All Rights Reserved. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it under | ||
8 | * the terms of the GNU General Public License version 2 as published by the | ||
9 | * Free Software Foundation. | ||
10 | */ | ||
11 | #include <mach/mx28.h> | ||
12 | #include <mach/devices-common.h> | ||
13 | |||
14 | extern const struct mxs_duart_data mx28_duart_data __initconst; | ||
15 | #define mx28_add_duart() \ | ||
16 | mxs_add_duart(&mx28_duart_data) | ||