diff options
Diffstat (limited to 'drivers/tc')
-rw-r--r-- | drivers/tc/zs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c index 622881f26761..7c0fe1dc96a9 100644 --- a/drivers/tc/zs.c +++ b/drivers/tc/zs.c | |||
@@ -347,7 +347,7 @@ static void rs_sched_event(struct dec_serial *info, int event) | |||
347 | tasklet_schedule(&info->tlet); | 347 | tasklet_schedule(&info->tlet); |
348 | } | 348 | } |
349 | 349 | ||
350 | static void receive_chars(struct dec_serial *info, struct pt_regs *regs) | 350 | static void receive_chars(struct dec_serial *info) |
351 | { | 351 | { |
352 | struct tty_struct *tty = info->tty; | 352 | struct tty_struct *tty = info->tty; |
353 | unsigned char ch, stat, flag; | 353 | unsigned char ch, stat, flag; |
@@ -490,7 +490,7 @@ static void status_handle(struct dec_serial *info) | |||
490 | /* | 490 | /* |
491 | * This is the serial driver's generic interrupt routine | 491 | * This is the serial driver's generic interrupt routine |
492 | */ | 492 | */ |
493 | static irqreturn_t rs_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 493 | static irqreturn_t rs_interrupt(int irq, void *dev_id) |
494 | { | 494 | { |
495 | struct dec_serial *info = (struct dec_serial *) dev_id; | 495 | struct dec_serial *info = (struct dec_serial *) dev_id; |
496 | irqreturn_t status = IRQ_NONE; | 496 | irqreturn_t status = IRQ_NONE; |
@@ -518,7 +518,7 @@ static irqreturn_t rs_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
518 | status = IRQ_HANDLED; | 518 | status = IRQ_HANDLED; |
519 | 519 | ||
520 | if (zs_intreg & CHBRxIP) { | 520 | if (zs_intreg & CHBRxIP) { |
521 | receive_chars(info, regs); | 521 | receive_chars(info); |
522 | } | 522 | } |
523 | if (zs_intreg & CHBTxIP) { | 523 | if (zs_intreg & CHBTxIP) { |
524 | transmit_chars(info); | 524 | transmit_chars(info); |