Explorar el Código

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>
MyungJoo Ham hace 13 años
padre
commit
a95e1f5dbc
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      include/linux/devfreq.h

+ 2 - 2
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;
 }