Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212374
b: refs/heads/master
c: 5fc62aa
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and Rafael J. Wysocki committed Oct 16, 2010
1 parent 58b1b42 commit 6687c3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0941ead3fdd31aafff992d211bcefdbff1eaedb
refs/heads/master: 5fc62aad4e7779c2f04691e48b351d08c050c1f1
5 changes: 5 additions & 0 deletions trunk/include/linux/pm_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ static inline int pm_request_resume(struct device *dev)
return __pm_runtime_resume(dev, RPM_ASYNC);
}

static inline int pm_request_autosuspend(struct device *dev)
{
return __pm_runtime_suspend(dev, RPM_ASYNC | RPM_AUTO);
}

static inline int pm_runtime_get(struct device *dev)
{
return __pm_runtime_resume(dev, RPM_GET_PUT | RPM_ASYNC);
Expand Down

0 comments on commit 6687c3c

Please sign in to comment.