diff options
Diffstat (limited to 'drivers/macintosh/via-maciisi.c')
-rw-r--r-- | drivers/macintosh/via-maciisi.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/macintosh/via-maciisi.c b/drivers/macintosh/via-maciisi.c index 0129fcc3b183..789ee52086fe 100644 --- a/drivers/macintosh/via-maciisi.c +++ b/drivers/macintosh/via-maciisi.c | |||
@@ -84,8 +84,8 @@ static int maciisi_init(void); | |||
84 | static int maciisi_send_request(struct adb_request* req, int sync); | 84 | static int maciisi_send_request(struct adb_request* req, int sync); |
85 | static void maciisi_sync(struct adb_request *req); | 85 | static void maciisi_sync(struct adb_request *req); |
86 | static int maciisi_write(struct adb_request* req); | 86 | static int maciisi_write(struct adb_request* req); |
87 | static irqreturn_t maciisi_interrupt(int irq, void* arg, struct pt_regs* regs); | 87 | static irqreturn_t maciisi_interrupt(int irq, void* arg); |
88 | static void maciisi_input(unsigned char *buf, int nb, struct pt_regs *regs); | 88 | static void maciisi_input(unsigned char *buf, int nb); |
89 | static int maciisi_init_via(void); | 89 | static int maciisi_init_via(void); |
90 | static void maciisi_poll(void); | 90 | static void maciisi_poll(void); |
91 | static int maciisi_start(void); | 91 | static int maciisi_start(void); |
@@ -433,7 +433,7 @@ maciisi_poll(void) | |||
433 | register is either full or empty. In practice, I have no idea what | 433 | register is either full or empty. In practice, I have no idea what |
434 | it means :( */ | 434 | it means :( */ |
435 | static irqreturn_t | 435 | static irqreturn_t |
436 | maciisi_interrupt(int irq, void* arg, struct pt_regs* regs) | 436 | maciisi_interrupt(int irq, void* arg) |
437 | { | 437 | { |
438 | int status; | 438 | int status; |
439 | struct adb_request *req; | 439 | struct adb_request *req; |
@@ -612,7 +612,7 @@ maciisi_interrupt(int irq, void* arg, struct pt_regs* regs) | |||
612 | /* Obviously, we got it */ | 612 | /* Obviously, we got it */ |
613 | reading_reply = 0; | 613 | reading_reply = 0; |
614 | } else { | 614 | } else { |
615 | maciisi_input(maciisi_rbuf, reply_ptr - maciisi_rbuf, regs); | 615 | maciisi_input(maciisi_rbuf, reply_ptr - maciisi_rbuf); |
616 | } | 616 | } |
617 | maciisi_state = idle; | 617 | maciisi_state = idle; |
618 | status = via[B] & (TIP|TREQ); | 618 | status = via[B] & (TIP|TREQ); |
@@ -657,7 +657,7 @@ maciisi_interrupt(int irq, void* arg, struct pt_regs* regs) | |||
657 | } | 657 | } |
658 | 658 | ||
659 | static void | 659 | static void |
660 | maciisi_input(unsigned char *buf, int nb, struct pt_regs *regs) | 660 | maciisi_input(unsigned char *buf, int nb) |
661 | { | 661 | { |
662 | #ifdef DEBUG_MACIISI_ADB | 662 | #ifdef DEBUG_MACIISI_ADB |
663 | int i; | 663 | int i; |
@@ -665,7 +665,7 @@ maciisi_input(unsigned char *buf, int nb, struct pt_regs *regs) | |||
665 | 665 | ||
666 | switch (buf[0]) { | 666 | switch (buf[0]) { |
667 | case ADB_PACKET: | 667 | case ADB_PACKET: |
668 | adb_input(buf+2, nb-2, regs, buf[1] & 0x40); | 668 | adb_input(buf+2, nb-2, buf[1] & 0x40); |
669 | break; | 669 | break; |
670 | default: | 670 | default: |
671 | #ifdef DEBUG_MACIISI_ADB | 671 | #ifdef DEBUG_MACIISI_ADB |