Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7f345a2 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Benjamin Herrenschmidt
Browse files

macintosh/adb: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE.

parent 1a527286
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)