[ARM] 4378/1: KS8695: Serial driver fix
authorAndrew Victor <[email protected]>
Mon, 14 May 2007 13:32:43 +0000 (14:32 +0100)
committerRussell King <[email protected]>
Wed, 16 May 2007 14:35:25 +0000 (15:35 +0100)
A fix for a really stupid typo in the KS8695 serial driver.

Signed-off-by: Andrew Victor <[email protected]>
Signed-off-by: Russell King <[email protected]>
drivers/serial/serial_ks8695.c

index c5346d677315234bdbefdfb4ad8460207d0c90ab..698763b28dddb10c56bae0cdfd540d2555f4d929 100644 (file)
@@ -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;