Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256939
b: refs/heads/master
c: 18b4f3f
h: refs/heads/master
i:
  256937: 0f65ec4
  256935: 65d33f4
v: v3
  • Loading branch information
Magnus Damm authored and Rafael J. Wysocki committed Jul 10, 2011
1 parent f948217 commit a9fd85f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9416f03fd9f809225a90f63b2fbc86f90010eab
refs/heads/master: 18b4f3f5d058b590e7189027eeb5d897742ade0a
2 changes: 1 addition & 1 deletion trunk/drivers/base/power/domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static void genpd_sd_counter_dec(struct generic_pm_domain *genpd)
* Restore power to @genpd and all of its parents so that it is possible to
* resume a device belonging to it.
*/
static int pm_genpd_poweron(struct generic_pm_domain *genpd)
int pm_genpd_poweron(struct generic_pm_domain *genpd)
{
int ret = 0;

Expand Down
5 changes: 5 additions & 0 deletions trunk/include/linux/pm_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extern int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
struct generic_pm_domain *target);
extern void pm_genpd_init(struct generic_pm_domain *genpd,
struct dev_power_governor *gov, bool is_off);
extern int pm_genpd_poweron(struct generic_pm_domain *genpd);
#else
static inline int pm_genpd_add_device(struct generic_pm_domain *genpd,
struct device *dev)
Expand All @@ -86,6 +87,10 @@ static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
}
static inline void pm_genpd_init(struct generic_pm_domain *genpd,
struct dev_power_governor *gov, bool is_off) {}
static inline int pm_genpd_poweron(struct generic_pm_domain *genpd)
{
return -ENOSYS;
}
#endif

#endif /* _LINUX_PM_DOMAIN_H */

0 comments on commit a9fd85f

Please sign in to comment.