summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-12-16 21:44:03 +0000
committerwdenk <wdenk>2004-12-16 21:44:03 +0000
commitefe2a4d5cf96dd37bc4782ba1880cee4ed1117c5 (patch)
tree9b8636853fefbfcd38e804ddccac013bd216d50e /drivers
parentbea8e84b52ac3c499b5868978a29c20cf92cf88f (diff)
Code cleanup.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ps2ser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ps2ser.c b/drivers/ps2ser.c
index 56925a8e03c..e2a38dc3dcc 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