serial: sccnxp: Make 'default' choice in switch last
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 24 Sep 2012 17:12:02 +0000 (21:12 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:41:05 +0000 (13:41 -0700)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sccnxp.c

index f06981df80b7e383df7fa5ab8279d52545c85649..b7086d004f5f36cb47422d5225edf5540ad7d8b2 100644 (file)
@@ -550,8 +550,8 @@ static void sccnxp_set_termios(struct uart_port *port,
        case CS7:
                mr1 = MR1_BITS_7;
                break;
-       default:
        case CS8:
+       default:
                mr1 = MR1_BITS_8;
                break;
        }