Commit Graph

3 Commits

Author SHA1 Message Date
Chintan Pandya
94dd4f4b85 wakelock: Fix compilation when PM is disabled
If PM is disabled, WAKELOCK will also get disabled.
That gives compilation error at kgsl driver.

drivers/gpu/msm/kgsl_pwrctrl.c:755: error:
'struct wake_lock' has no member named 'name'

So, ifdef check whithin struct wake_lock will not give
more advantages but break builds. So, remove
CONFIG_HAS_WAKELOCK check in struct wake_lock.

Change-Id: I9f808f3b6ff14af6fa7f91dee7fe279ddab09add
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2011-12-05 12:38:11 +05:30
Bryan Huntsman
849b79e1f0 msm: trivial: 'chmod 644' for non-executable files
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-11-22 18:44:06 -08:00
Arve Hjønnevåg
ec81142a98 PM: Add wake lock api. 2011-06-14 09:08:41 -07:00