summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gonzalez <alex.gonzalez@digi.com>2012-01-13 18:08:03 +0100
committerAlex Gonzalez <alex.gonzalez@digi.com>2012-01-16 11:06:13 +0100
commit73ea4e4ed77829fc212a377b0a81bca475c50a89 (patch)
tree07b31793b2c1e07c62ce58959a5518fc615b185c
parentb3d10224ae9c273555a87bff2ca28e34b77c20a3 (diff)
ccwmx53: Serial, use UART mode macros
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
-rw-r--r--arch/arm/mach-mx5/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/serial.c b/arch/arm/mach-mx5/serial.c
index 96923a55a23b..092fdbc0a729 100644
--- a/arch/arm/mach-mx5/serial.c
+++ b/arch/arm/mach-mx5/serial.c
@@ -125,7 +125,7 @@ static uart_mxc_port mxc_ports[] = {
.line = 3,
},
.ints_muxed = 1,
- .mode = MODE_DCE,
+ .mode = UART4_MODE,
.ir_mode = NO_IRDA,
.rs485_txdir_lvl = UART4_RS485_TXDIR_LVL,
.rs485_txdir_gpio = IOMUX_TO_GPIO(RS485_TX3),
@@ -148,7 +148,7 @@ static uart_mxc_port mxc_ports[] = {
.line = 4,
},
.ints_muxed = 1,
- .mode = MODE_DCE,
+ .mode = UART5_MODE,
.ir_mode = NO_IRDA,
.rs485_txdir_lvl = UART5_RS485_TXDIR_LVL,
.rs485_txdir_gpio = IOMUX_TO_GPIO(RS485_TX4),