summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-05-14 14:32:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-16 15:35:25 +0100
commite45c7a43825b0feb161ef2ebe5324cd517dd4388 (patch)
tree4f987508bcac2b100a83e77f0d5782e578fe501d /drivers/serial
parent8858e9afdf31bab05247b1680b16c65fe7edbbe1 (diff)
[ARM] 4378/1: KS8695: Serial driver fix
A fix for a really stupid typo in the KS8695 serial driver. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_ks8695.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_ks8695.c b/drivers/serial/serial_ks8695.c
index c5346d677315..698763b28ddd 100644
--- a/drivers/serial/serial_ks8695.c
+++ b/drivers/serial/serial_ks8695.c
@@ -301,11 +301,11 @@ static int ks8695uart_startup(struct uart_port *port)
retval = request_irq(KS8695_IRQ_UART_LINE_STATUS, ks8695uart_rx_chars, IRQF_DISABLED, "UART LineStatus", port);
if (retval)
- return err_ls;
+ goto err_ls;
retval = request_irq(KS8695_IRQ_UART_MODEM_STATUS, ks8695uart_modem_status, IRQF_DISABLED, "UART ModemStatus", port);
if (retval)
- return err_ms;
+ goto err_ms;
return 0;