Skip to content

Commit

Permalink
macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DEC…
Browse files Browse the repository at this point in the history
…LARE_WAITQUEUE.

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
rpjday authored and ozbenh committed Jun 25, 2013
1 parent 1a52728 commit e7f345a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/macintosh/adb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7f345a

Please sign in to comment.