Skip to content

Commit

Permalink
PM / devfreq: fixed syntax errors.
Browse files Browse the repository at this point in the history
If devfreq.h was included without CONFIG_PM_DEVFREQ, there has been a
compiler error with an additional semicolon added. This patch removes
that errorneous semicolon.

Signed-off-by: MyungJoo Ham <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
  • Loading branch information
myungjoo committed Jan 20, 2012
1 parent e0d44e8 commit a95e1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/devfreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ struct devfreq_simple_ondemand_data {
static struct devfreq *devfreq_add_device(struct device *dev,
struct devfreq_dev_profile *profile,
struct devfreq_governor *governor,
void *data);
void *data)
{
return NULL;
}

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

0 comments on commit a95e1f5

Please sign in to comment.