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:
Родитель
1a5272866f
Коммит
e7f345a2a3
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче