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

Commit 124913d5 authored by Chris Lew's avatar Chris Lew
Browse files

net: qrtr: Fix wakeup_source_register



There was an update to add a device parameter into
wakeup_source_register().

Fixes: c8377adf ("PM / wakeup: Show wakeup sources stats in sysfs")
Change-Id: I2c17f4c8c80cfb16d85da0ff268e5a75e2d0bcad
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 4ff747d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1058,7 +1058,7 @@ int qrtr_endpoint_register(struct qrtr_endpoint *ep, unsigned int net_id,
	up_write(&qrtr_epts_lock);
	ep->node = node;

	node->ws = wakeup_source_register("qrtr_ws");
	node->ws = wakeup_source_register(NULL, "qrtr_ws");

	kthread_queue_work(&node->kworker, &node->say_hello);
	return 0;