projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a52728
)
macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE.
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Sat, 22 Jun 2013 08:29:48 +0000
(
04:29
-0400)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 25 Jun 2013 07:24:39 +0000
(17:24 +1000)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/adb.c
patch
|
blob
|
history
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)