PM / devfreq: fixed syntax errors.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Jan 2012 08:44:28 +0000 (17:44 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 20 Jan 2012 01:12:38 +0000 (10:12 +0900)
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>
include/linux/devfreq.h

index 98ce8124b1cc5e5fb2e61fcf89cc8bd3cc0a7e82..f7eb7d06df7e7fa8831a3ab5821929ccc0a4f49a 100644 (file)
@@ -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;
 }