Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362205
b: refs/heads/master
c: 5faaa03
h: refs/heads/master
i:
  362203: ac7ef36
v: v3
  • Loading branch information
Rajagopal Venkat authored and Rafael J. Wysocki committed Apr 1, 2013
1 parent d71ad49 commit c281089
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 0f703069296664eb7c649c837cc8bb936c3ef07f
refs/heads/master: 5faaa035ddc16d3d2e31c0bfc1c4756b6869dbcc
16 changes: 8 additions & 8 deletions trunk/include/linux/devfreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,42 +213,42 @@ struct devfreq_simple_ondemand_data {
#endif

#else /* !CONFIG_PM_DEVFREQ */
static struct devfreq *devfreq_add_device(struct device *dev,
static inline struct devfreq *devfreq_add_device(struct device *dev,
struct devfreq_dev_profile *profile,
const char *governor_name,
void *data)
{
return NULL;
}

static int devfreq_remove_device(struct devfreq *devfreq)
static inline int devfreq_remove_device(struct devfreq *devfreq)
{
return 0;
}

static int devfreq_suspend_device(struct devfreq *devfreq)
static inline int devfreq_suspend_device(struct devfreq *devfreq)
{
return 0;
}

static int devfreq_resume_device(struct devfreq *devfreq)
static inline int devfreq_resume_device(struct devfreq *devfreq)
{
return 0;
}

static struct opp *devfreq_recommended_opp(struct device *dev,
static inline struct opp *devfreq_recommended_opp(struct device *dev,
unsigned long *freq, u32 flags)
{
return -EINVAL;
return ERR_PTR(-EINVAL);
}

static int devfreq_register_opp_notifier(struct device *dev,
static inline int devfreq_register_opp_notifier(struct device *dev,
struct devfreq *devfreq)
{
return -EINVAL;
}

static int devfreq_unregister_opp_notifier(struct device *dev,
static inline int devfreq_unregister_opp_notifier(struct device *dev,
struct devfreq *devfreq)
{
return -EINVAL;
Expand Down

0 comments on commit c281089

Please sign in to comment.