diff options
-rw-r--r-- | drivers/serial/sunzilog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 3271379a36db..90a20a152ebf 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c | |||
@@ -1231,7 +1231,7 @@ static inline struct console *SUNZILOG_CONSOLE(void) | |||
1231 | #define SUNZILOG_CONSOLE() (NULL) | 1231 | #define SUNZILOG_CONSOLE() (NULL) |
1232 | #endif | 1232 | #endif |
1233 | 1233 | ||
1234 | static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up, int channel) | 1234 | static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up) |
1235 | { | 1235 | { |
1236 | int baud, brg; | 1236 | int baud, brg; |
1237 | 1237 | ||
@@ -1305,7 +1305,7 @@ static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up) | |||
1305 | up->curregs[R7] = 0x7E; /* SDLC Flag */ | 1305 | up->curregs[R7] = 0x7E; /* SDLC Flag */ |
1306 | up->curregs[R9] = NV; | 1306 | up->curregs[R9] = NV; |
1307 | up->curregs[R7p] = 0x00; | 1307 | up->curregs[R7p] = 0x00; |
1308 | sunzilog_init_kbdms(up, up->port.line); | 1308 | sunzilog_init_kbdms(up); |
1309 | /* Only enable interrupts if an ISR handler available */ | 1309 | /* Only enable interrupts if an ISR handler available */ |
1310 | if (up->flags & SUNZILOG_FLAG_ISR_HANDLER) | 1310 | if (up->flags & SUNZILOG_FLAG_ISR_HANDLER) |
1311 | up->curregs[R9] |= MIE; | 1311 | up->curregs[R9] |= MIE; |