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>
This commit is contained in:
Robert P. J. Day 2013-06-22 04:29:48 -04:00 committed by Benjamin Herrenschmidt
parent 1a5272866f
commit e7f345a2a3

View File

@ -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)