diff options
Diffstat (limited to 'drivers/serial/atmel_serial.c')
-rw-r--r-- | drivers/serial/atmel_serial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c index 955c46da5800..391a1f4167a4 100644 --- a/drivers/serial/atmel_serial.c +++ b/drivers/serial/atmel_serial.c | |||
@@ -249,7 +249,7 @@ static void atmel_break_ctl(struct uart_port *port, int break_state) | |||
249 | /* | 249 | /* |
250 | * Characters received (called from interrupt handler) | 250 | * Characters received (called from interrupt handler) |
251 | */ | 251 | */ |
252 | static void atmel_rx_chars(struct uart_port *port, struct pt_regs *regs) | 252 | static void atmel_rx_chars(struct uart_port *port) |
253 | { | 253 | { |
254 | struct tty_struct *tty = port->info->tty; | 254 | struct tty_struct *tty = port->info->tty; |
255 | unsigned int status, ch, flg; | 255 | unsigned int status, ch, flg; |
@@ -291,7 +291,7 @@ static void atmel_rx_chars(struct uart_port *port, struct pt_regs *regs) | |||
291 | flg = TTY_FRAME; | 291 | flg = TTY_FRAME; |
292 | } | 292 | } |
293 | 293 | ||
294 | if (uart_handle_sysrq_char(port, ch, regs)) | 294 | if (uart_handle_sysrq_char(port, ch)) |
295 | goto ignore_char; | 295 | goto ignore_char; |
296 | 296 | ||
297 | uart_insert_char(port, status, ATMEL_US_OVRE, ch, flg); | 297 | uart_insert_char(port, status, ATMEL_US_OVRE, ch, flg); |
@@ -339,7 +339,7 @@ static void atmel_tx_chars(struct uart_port *port) | |||
339 | /* | 339 | /* |
340 | * Interrupt handler | 340 | * Interrupt handler |
341 | */ | 341 | */ |
342 | static irqreturn_t atmel_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 342 | static irqreturn_t atmel_interrupt(int irq, void *dev_id) |
343 | { | 343 | { |
344 | struct uart_port *port = dev_id; | 344 | struct uart_port *port = dev_id; |
345 | struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port; | 345 | struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port; |
@@ -350,7 +350,7 @@ static irqreturn_t atmel_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
350 | while (pending) { | 350 | while (pending) { |
351 | /* Interrupt receive */ | 351 | /* Interrupt receive */ |
352 | if (pending & ATMEL_US_RXRDY) | 352 | if (pending & ATMEL_US_RXRDY) |
353 | atmel_rx_chars(port, regs); | 353 | atmel_rx_chars(port); |
354 | 354 | ||
355 | // TODO: All reads to CSR will clear these interrupts! | 355 | // TODO: All reads to CSR will clear these interrupts! |
356 | if (pending & ATMEL_US_RIIC) port->icount.rng++; | 356 | if (pending & ATMEL_US_RIIC) port->icount.rng++; |