Commit f02aa3f9 authored by Erik Hovland's avatar Erik Hovland Committed by Russell King

[ARM] 3216/1: indent and typo in drivers/serial/pxa.c

Patch from Erik Hovland

This patch provides two changes. An indent is supplied for an if/else clause so that it is more readable. An acronym is incorrectly typed as UER when it should be IER.
Signed-off-by: default avatarErik Hovland <erik@hovland.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9e625ff8
...@@ -361,7 +361,7 @@ static int serial_pxa_startup(struct uart_port *port) ...@@ -361,7 +361,7 @@ static int serial_pxa_startup(struct uart_port *port)
if (port->line == 3) /* HWUART */ if (port->line == 3) /* HWUART */
up->mcr |= UART_MCR_AFE; up->mcr |= UART_MCR_AFE;
else else
up->mcr = 0; up->mcr = 0;
/* /*
* Allocate the IRQ * Allocate the IRQ
...@@ -641,7 +641,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count) ...@@ -641,7 +641,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
int i; int i;
/* /*
* First save the UER then disable the interrupts * First save the IER then disable the interrupts
*/ */
ier = serial_in(up, UART_IER); ier = serial_in(up, UART_IER);
serial_out(up, UART_IER, UART_IER_UUE); serial_out(up, UART_IER, UART_IER_UUE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment