Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291871
b: refs/heads/master
c: b642631
h: refs/heads/master
i:
  291869: 096385d
  291867: 79dc3a3
  291863: 48037c7
  291855: bdd7a01
  291839: 78f3b13
v: v3
  • Loading branch information
Magnus Damm authored and Rafael J. Wysocki committed Mar 4, 2012
1 parent d28e8b8 commit 3beb60f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 9b4f617b1c2004332113b4a2c89dfb6e8029c987
refs/heads/master: b642631d38c28fefd1232a6b96713eb54b60130d
12 changes: 7 additions & 5 deletions trunk/include/linux/pm_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ extern bool default_stop_ok(struct device *dev);
extern struct dev_power_governor pm_domain_always_on_gov;
#else

static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev)
{
return ERR_PTR(-ENOSYS);
}
static inline struct generic_pm_domain *dev_to_genpd(struct device *dev)
{
return ERR_PTR(-ENOSYS);
Expand Down Expand Up @@ -195,7 +199,8 @@ static inline int __pm_genpd_remove_callbacks(struct device *dev, bool clear_td)
{
return -ENOSYS;
}
static inline void pm_genpd_init(struct generic_pm_domain *genpd, bool is_off)
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)
Expand All @@ -206,11 +211,8 @@ static inline bool default_stop_ok(struct device *dev)
{
return false;
}
#define simple_qos_governor NULL
#define pm_domain_always_on_gov NULL
static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev)
{
return NULL;
}
#endif

static inline int pm_genpd_remove_callbacks(struct device *dev)
Expand Down

0 comments on commit 3beb60f

Please sign in to comment.