diff options
Diffstat (limited to 'drivers/macintosh/via-maciisi.c')
-rw-r--r-- | drivers/macintosh/via-maciisi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/via-maciisi.c b/drivers/macintosh/via-maciisi.c index ad271e705a31..0129fcc3b183 100644 --- a/drivers/macintosh/via-maciisi.c +++ b/drivers/macintosh/via-maciisi.c | |||
@@ -326,7 +326,7 @@ maciisi_write(struct adb_request* req) | |||
326 | req->complete = 1; | 326 | req->complete = 1; |
327 | return -EINVAL; | 327 | return -EINVAL; |
328 | } | 328 | } |
329 | req->next = 0; | 329 | req->next = NULL; |
330 | req->sent = 0; | 330 | req->sent = 0; |
331 | req->complete = 0; | 331 | req->complete = 0; |
332 | req->reply_len = 0; | 332 | req->reply_len = 0; |
@@ -421,7 +421,7 @@ maciisi_poll(void) | |||
421 | 421 | ||
422 | local_irq_save(flags); | 422 | local_irq_save(flags); |
423 | if (via[IFR] & SR_INT) { | 423 | if (via[IFR] & SR_INT) { |
424 | maciisi_interrupt(0, 0, 0); | 424 | maciisi_interrupt(0, NULL, NULL); |
425 | } | 425 | } |
426 | else /* avoid calling this function too quickly in a loop */ | 426 | else /* avoid calling this function too quickly in a loop */ |
427 | udelay(ADB_DELAY); | 427 | udelay(ADB_DELAY); |