From: Robert P. J. Day Date: Sat, 22 Jun 2013 08:29:48 +0000 (-0400) Subject: macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE. X-Git-Tag: firefly_0821_release~176^2~5781^2~53 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e7f345a2a36754e43673e86870a7a89101fb13e3;p=firefly-linux-kernel-4.4.55.git macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE. Signed-off-by: Robert P. J. Day Signed-off-by: Benjamin Herrenschmidt --- 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, 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)