projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE.
[deliverable/linux.git]
/
drivers
/
macintosh
/
adb.c
diff --git
a/drivers/macintosh/adb.c
b/drivers/macintosh/adb.c
index b026896206ca4fb1ee66df1df93036dcc7b72f9b..04a50498f2576f8019488e118c49d4b7092f0fc4 100644
(file)
--- a/
drivers/macintosh/adb.c
+++ b/
drivers/macintosh/adb.c
@@
-697,7
+697,7
@@
static ssize_t adb_read(struct file *file, char __user *buf,
int ret = 0;
struct adbdev_state *state = file->private_data;
struct adb_request *req;
-
wait_queue_t wait = __WAITQUEUE_INITIALIZER
(wait,current);
+
DECLARE_WAITQUEUE
(wait,current);
unsigned long flags;
if (count < 2)
This page took
0.023919 seconds
and
5
git commands to generate.