summaryrefslogtreecommitdiffstats
path: root/include/linux/devfreq.h
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2012-01-11 17:44:28 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2012-01-20 10:12:38 +0900
commita95e1f5dbca385908aa4087bb98470b0e0ac58d8 (patch)
tree4b661241be03f97bb025457010ac31af11466b8e /include/linux/devfreq.h
parente0d44e8ab06885a5bb980f3d6d4cf64ad430d406 (diff)
downloadblackbird-op-linux-a95e1f5dbca385908aa4087bb98470b0e0ac58d8.tar.gz
blackbird-op-linux-a95e1f5dbca385908aa4087bb98470b0e0ac58d8.zip
PM / devfreq: fixed syntax errors.
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 <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/devfreq.h')
-rw-r--r--include/linux/devfreq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h
index 98ce8124b1cc..f7eb7d06df7e 100644
--- a/include/linux/devfreq.h
+++ b/include/linux/devfreq.h
@@ -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;
}
OpenPOWER on IntegriCloud