diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2010-12-09 23:12:46 +0800 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-12-20 17:30:24 +0100 |
commit | dc38ad4052a50b9e73fdcc970ecdd4f69ee9d97a (patch) | |
tree | ec28c5e9afacaca46ee2ab96cbef939eefe254bc /arch/arm/mach-mxs/devices-mx23.h | |
parent | faff3dc947738ce7c905a4a2936a089d3fa9ddda (diff) | |
download | kernel_samsung_smdk4412-dc38ad4052a50b9e73fdcc970ecdd4f69ee9d97a.zip kernel_samsung_smdk4412-dc38ad4052a50b9e73fdcc970ecdd4f69ee9d97a.tar.gz kernel_samsung_smdk4412-dc38ad4052a50b9e73fdcc970ecdd4f69ee9d97a.tar.bz2 |
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-mx23.h')
-rw-r--r-- | arch/arm/mach-mxs/devices-mx23.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx23.h b/arch/arm/mach-mxs/devices-mx23.h new file mode 100644 index 0000000..d0f49fc --- /dev/null +++ b/arch/arm/mach-mxs/devices-mx23.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2010 Pengutronix + * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> + * + * Copyright 2010 Freescale Semiconductor, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License version 2 as published by the + * Free Software Foundation. + */ +#include <mach/mx23.h> +#include <mach/devices-common.h> + +extern const struct mxs_duart_data mx23_duart_data __initconst; +#define mx23_add_duart() \ + mxs_add_duart(&mx23_duart_data) |