diff options
Diffstat (limited to 'drivers/macintosh/via-cuda.c')
-rw-r--r-- | drivers/macintosh/via-cuda.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/macintosh/via-cuda.c b/drivers/macintosh/via-cuda.c index 7512d1c15207..64a07ccfe369 100644 --- a/drivers/macintosh/via-cuda.c +++ b/drivers/macintosh/via-cuda.c | |||
@@ -98,8 +98,8 @@ static int cuda_reset_adb_bus(void); | |||
98 | 98 | ||
99 | static int cuda_init_via(void); | 99 | static int cuda_init_via(void); |
100 | static void cuda_start(void); | 100 | static void cuda_start(void); |
101 | static irqreturn_t cuda_interrupt(int irq, void *arg, struct pt_regs *regs); | 101 | static irqreturn_t cuda_interrupt(int irq, void *arg); |
102 | static void cuda_input(unsigned char *buf, int nb, struct pt_regs *regs); | 102 | static void cuda_input(unsigned char *buf, int nb); |
103 | void cuda_poll(void); | 103 | void cuda_poll(void); |
104 | static int cuda_write(struct adb_request *req); | 104 | static int cuda_write(struct adb_request *req); |
105 | 105 | ||
@@ -442,7 +442,7 @@ cuda_poll(void) | |||
442 | } | 442 | } |
443 | 443 | ||
444 | static irqreturn_t | 444 | static irqreturn_t |
445 | cuda_interrupt(int irq, void *arg, struct pt_regs *regs) | 445 | cuda_interrupt(int irq, void *arg) |
446 | { | 446 | { |
447 | int status; | 447 | int status; |
448 | struct adb_request *req = NULL; | 448 | struct adb_request *req = NULL; |
@@ -594,12 +594,12 @@ cuda_interrupt(int irq, void *arg, struct pt_regs *regs) | |||
594 | (*done)(req); | 594 | (*done)(req); |
595 | } | 595 | } |
596 | if (ibuf_len) | 596 | if (ibuf_len) |
597 | cuda_input(ibuf, ibuf_len, regs); | 597 | cuda_input(ibuf, ibuf_len); |
598 | return IRQ_HANDLED; | 598 | return IRQ_HANDLED; |
599 | } | 599 | } |
600 | 600 | ||
601 | static void | 601 | static void |
602 | cuda_input(unsigned char *buf, int nb, struct pt_regs *regs) | 602 | cuda_input(unsigned char *buf, int nb) |
603 | { | 603 | { |
604 | int i; | 604 | int i; |
605 | 605 | ||
@@ -615,7 +615,7 @@ cuda_input(unsigned char *buf, int nb, struct pt_regs *regs) | |||
615 | } | 615 | } |
616 | #endif /* CONFIG_XMON */ | 616 | #endif /* CONFIG_XMON */ |
617 | #ifdef CONFIG_ADB | 617 | #ifdef CONFIG_ADB |
618 | adb_input(buf+2, nb-2, regs, buf[1] & 0x40); | 618 | adb_input(buf+2, nb-2, buf[1] & 0x40); |
619 | #endif /* CONFIG_ADB */ | 619 | #endif /* CONFIG_ADB */ |
620 | break; | 620 | break; |
621 | 621 | ||