Skip to content

Commit

Permalink
[ARM] 3216/1: indent and typo in drivers/serial/pxa.c
Browse files Browse the repository at this point in the history
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: Erik Hovland <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
microe authored and Russell King committed Dec 30, 2005
1 parent 9e625ff commit f02aa3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static int serial_pxa_startup(struct uart_port *port)
if (port->line == 3) /* HWUART */
up->mcr |= UART_MCR_AFE;
else
up->mcr = 0;
up->mcr = 0;

/*
* Allocate the IRQ
Expand Down Expand Up @@ -641,7 +641,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
int i;

/*
* First save the UER then disable the interrupts
* First save the IER then disable the interrupts
*/
ier = serial_in(up, UART_IER);
serial_out(up, UART_IER, UART_IER_UUE);
Expand Down

0 comments on commit f02aa3f

Please sign in to comment.