summaryrefslogtreecommitdiff
path: root/drivers/ps2ser.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ps2ser.c')
-rw-r--r--drivers/ps2ser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ps2ser.c b/drivers/ps2ser.c
index 56925a8..e2a38dc 100644
--- a/drivers/ps2ser.c
+++ b/drivers/ps2ser.c
@@ -163,7 +163,7 @@ void ps2ser_putc(int chr)
#ifdef CONFIG_MPC5xxx
while (!(psc->psc_status & PSC_SR_TXRDY));
-
+
psc->psc_buffer_8 = chr;
#else
while (!(ps2ser_in(UART_LSR) & UART_LSR_THRE));
@@ -259,7 +259,7 @@ static void ps2ser_interrupt(void *dev_id)
printf ("ps2ser.c: buffer overflow\n");
}
#ifdef CONFIG_MPC5xxx
- } while (status & PSC_SR_RXRDY);
+ } while (status & PSC_SR_RXRDY);
#else
} while (status & UART_IIR_RDI);
#endif