diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-23 11:49:34 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 09:01:00 +0200 |
commit | 6eafde5f02b1f34b7e083d1d6522f40e850bf355 (patch) | |
tree | 67aa1fe1d1cfdff60b1bfcf95ee697167e19f3a1 /arch/arm/mach-mx3/mach-mx35_3ds.c | |
parent | 16cf5c41514fd94ff1e8b6be091e4b4732688fa6 (diff) | |
download | kernel_samsung_espresso10-6eafde5f02b1f34b7e083d1d6522f40e850bf355.zip kernel_samsung_espresso10-6eafde5f02b1f34b7e083d1d6522f40e850bf355.tar.gz kernel_samsung_espresso10-6eafde5f02b1f34b7e083d1d6522f40e850bf355.tar.bz2 |
ARM: imx: dynamically register imx-uart devices (imx35)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx35_3ds.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index cfac778..1c30d72 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c @@ -34,12 +34,12 @@ #include <mach/hardware.h> #include <mach/common.h> -#include <mach/imx-uart.h> #include <mach/iomux-mx35.h> +#include "devices-imx35.h" #include "devices.h" -static struct imxuart_platform_data uart_pdata = { +static const struct imxuart_platform_data uart_pdata __initconst = { .flags = IMXUART_HAVE_RTSCTS, }; @@ -92,7 +92,7 @@ static void __init mxc_board_init(void) platform_add_devices(devices, ARRAY_SIZE(devices)); - mxc_register_device(&mxc_uart_device0, &uart_pdata); + imx35_add_imx_uart0(&uart_pdata); mxc_register_device(&mxc_otg_udc_device, &usb_pdata); } |