Message ID | 5086278d.Wk+4wZ82+5/DqqJn%fengguang.wu@intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/drivers/devfreq/governor_simpleondemand.c b/drivers/devfreq/governor_simpleondemand.c index cf94218..3716a65 100644 --- a/drivers/devfreq/governor_simpleondemand.c +++ b/drivers/devfreq/governor_simpleondemand.c @@ -89,7 +89,7 @@ static int devfreq_simple_ondemand_func(struct devfreq *df, return 0; } -int devfreq_simple_ondemand_handler(struct devfreq *devfreq, +static int devfreq_simple_ondemand_handler(struct devfreq *devfreq, unsigned int event, void *data) { switch (event) { diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/governor_userspace.c index 1fddee5..7067555 100644 --- a/drivers/devfreq/governor_userspace.c +++ b/drivers/devfreq/governor_userspace.c @@ -116,7 +116,7 @@ static void userspace_exit(struct devfreq *devfreq) devfreq->data = NULL; } -int devfreq_userspace_handler(struct devfreq *devfreq, +static int devfreq_userspace_handler(struct devfreq *devfreq, unsigned int event, void *data) { int ret = 0;