diff options
Diffstat (limited to 'drivers/serial/dz.c')
-rw-r--r-- | drivers/serial/dz.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c index 587d87b9eb3c..d31721f2744d 100644 --- a/drivers/serial/dz.c +++ b/drivers/serial/dz.c | |||
@@ -170,8 +170,7 @@ static void dz_enable_ms(struct uart_port *port) | |||
170 | * This routine deals with inputs from any lines. | 170 | * This routine deals with inputs from any lines. |
171 | * ------------------------------------------------------------ | 171 | * ------------------------------------------------------------ |
172 | */ | 172 | */ |
173 | static inline void dz_receive_chars(struct dz_port *dport_in, | 173 | static inline void dz_receive_chars(struct dz_port *dport_in) |
174 | struct pt_regs *regs) | ||
175 | { | 174 | { |
176 | struct dz_port *dport; | 175 | struct dz_port *dport; |
177 | struct tty_struct *tty = NULL; | 176 | struct tty_struct *tty = NULL; |
@@ -226,7 +225,7 @@ static inline void dz_receive_chars(struct dz_port *dport_in, | |||
226 | break; | 225 | break; |
227 | } | 226 | } |
228 | 227 | ||
229 | if (uart_handle_sysrq_char(&dport->port, ch, regs)) | 228 | if (uart_handle_sysrq_char(&dport->port, ch)) |
230 | continue; | 229 | continue; |
231 | 230 | ||
232 | if ((status & dport->port.ignore_status_mask) == 0) { | 231 | if ((status & dport->port.ignore_status_mask) == 0) { |
@@ -332,7 +331,7 @@ static irqreturn_t dz_interrupt(int irq, void *dev) | |||
332 | status = dz_in(dport, DZ_CSR); | 331 | status = dz_in(dport, DZ_CSR); |
333 | 332 | ||
334 | if ((status & (DZ_RDONE | DZ_RIE)) == (DZ_RDONE | DZ_RIE)) | 333 | if ((status & (DZ_RDONE | DZ_RIE)) == (DZ_RDONE | DZ_RIE)) |
335 | dz_receive_chars(dport, regs); | 334 | dz_receive_chars(dport); |
336 | 335 | ||
337 | if ((status & (DZ_TRDY | DZ_TIE)) == (DZ_TRDY | DZ_TIE)) | 336 | if ((status & (DZ_TRDY | DZ_TIE)) == (DZ_TRDY | DZ_TIE)) |
338 | dz_transmit_chars(dport); | 337 | dz_transmit_chars(dport); |