git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
macintosh
/
via-macii.c
diff --git
a/drivers/macintosh/via-macii.c
b/drivers/macintosh/via-macii.c
index
e9a159a
..
2a2ffe0
100644
(file)
--- a/
drivers/macintosh/via-macii.c
+++ b/
drivers/macintosh/via-macii.c
@@
-260,7
+260,7
@@
static int macii_write(struct adb_request *req)
return -EINVAL;
}
return -EINVAL;
}
- req->next =
0
;
+ req->next =
NULL
;
req->sent = 0;
req->complete = 0;
req->reply_len = 0;
req->sent = 0;
req->complete = 0;
req->reply_len = 0;
@@
-295,7
+295,7
@@
static void macii_poll(void)
unsigned long flags;
local_irq_save(flags);
unsigned long flags;
local_irq_save(flags);
- if (via[IFR] & SR_INT) macii_interrupt(0,
0, 0
);
+ if (via[IFR] & SR_INT) macii_interrupt(0,
NULL, NULL
);
local_irq_restore(flags);
}
local_irq_restore(flags);
}