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
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
macintosh
/
macio-adb.c
diff --git
a/drivers/macintosh/macio-adb.c
b/drivers/macintosh/macio-adb.c
index
f8bc90f
..
5283a6d
100644
(file)
--- a/
drivers/macintosh/macio-adb.c
+++ b/
drivers/macintosh/macio-adb.c
@@
-175,7
+175,7
@@
static int macio_send_request(struct adb_request *req, int sync)
req->data[i] = req->data[i+1];
--req->nbytes;
req->data[i] = req->data[i+1];
--req->nbytes;
- 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;
@@
-280,6
+280,6
@@
static void macio_adb_poll(void)
local_irq_save(flags);
if (in_8(&adb->intr.r) != 0)
local_irq_save(flags);
if (in_8(&adb->intr.r) != 0)
- macio_adb_interrupt(0,
0, 0
);
+ macio_adb_interrupt(0,
NULL, NULL
);
local_irq_restore(flags);
}
local_irq_restore(flags);
}