summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-09-24 21:12:02 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 13:41:05 -0700
commit91f61ce24f95f6d5f96efb56e0a8633e19184289 (patch)
tree7432950ce09c7f13a246a3248ff4d835749e13f5 /drivers/tty/serial/sccnxp.c
parent3195fd23f8ea71344bd9bb2b451e72f4289e03ec (diff)
downloadlinux-91f61ce24f95f6d5f96efb56e0a8633e19184289.tar.gz
linux-91f61ce24f95f6d5f96efb56e0a8633e19184289.tar.bz2
linux-91f61ce24f95f6d5f96efb56e0a8633e19184289.zip
serial: sccnxp: Make 'default' choice in switch last
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
-rw-r--r--drivers/tty/serial/sccnxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c
index f06981df80b7..b7086d004f5f 100644
--- a/drivers/tty/serial/sccnxp.c
+++ b/drivers/tty/serial/sccnxp.c
@@ -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;
}