diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-06-22 04:29:48 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-25 03:24:39 -0400 |
commit | e7f345a2a36754e43673e86870a7a89101fb13e3 (patch) | |
tree | e7c1bf0014665b45701e626f56a4921c91039fd9 /drivers/macintosh/adb.c | |
parent | 1a5272866f87d7fbf04dc8060f8da3e8456490ab (diff) |
macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/adb.c')
-rw-r--r-- | drivers/macintosh/adb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index b026896206ca..04a50498f257 100644 --- 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, | |||
697 | int ret = 0; | 697 | int ret = 0; |
698 | struct adbdev_state *state = file->private_data; | 698 | struct adbdev_state *state = file->private_data; |
699 | struct adb_request *req; | 699 | struct adb_request *req; |
700 | wait_queue_t wait = __WAITQUEUE_INITIALIZER(wait,current); | 700 | DECLARE_WAITQUEUE(wait,current); |
701 | unsigned long flags; | 701 | unsigned long flags; |
702 | 702 | ||
703 | if (count < 2) | 703 | if (count < 2) |