aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2013-06-22 04:29:48 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-25 17:24:39 +1000
commite7f345a2a36754e43673e86870a7a89101fb13e3 (patch)
treee7c1bf0014665b45701e626f56a4921c91039fd9
parent1a5272866f87d7fbf04dc8060f8da3e8456490ab (diff)
downloadkernel_goldelico_gta04-e7f345a2a36754e43673e86870a7a89101fb13e3.zip
kernel_goldelico_gta04-e7f345a2a36754e43673e86870a7a89101fb13e3.tar.gz
kernel_goldelico_gta04-e7f345a2a36754e43673e86870a7a89101fb13e3.tar.bz2
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>
-rw-r--r--drivers/macintosh/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c
index b026896..04a5049 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)