Skip to contentSkip to conversation

staging/dream: remove wakelock support from smd_rpcrouter.h

PATCH Pavel Machek 1 participant 1 message Oct 24, 2009 Staging

lore
Share & tools
lore
#0 lore raw

wakelocks are power optimalization, not supported in mainline. Remove them so that code compiles on mainline.

drivers/staging/dream/smd/smd_rpcrouter.h +0 -2
@@ -22,7 +22,6 @@
 #include <linux/list.h>
 #include <linux/cdev.h>
 #include <linux/platform_device.h>
-#include <linux/wakelock.h>
 
 #include <mach/msm_smd.h>
 #include <mach/msm_rpcrouter.h>
@@ -144,7 +143,6 @@ struct msm_rpc_endpoint {
 	/* complete packets waiting to be read */
 	struct list_head read_q;
 	spinlock_t read_q_lock;
-	struct wake_lock read_q_wake_lock;
 	wait_queue_head_t wait_q;
 	unsigned flags;
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html