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)
downloadop-kernel-dev-91f61ce24f95f6d5f96efb56e0a8633e19184289.zip
op-kernel-dev-91f61ce24f95f6d5f96efb56e0a8633e19184289.tar.gz
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 f06981d..b7086d0 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;
}
OpenPOWER on IntegriCloud