aboutsummaryrefslogtreecommitdiff
path: root/idlestat.h
diff options
context:
space:
mode:
Diffstat (limited to 'idlestat.h')
-rw-r--r--idlestat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlestat.h b/idlestat.h
index 076f6a5..966c762 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -191,7 +191,7 @@ struct init_pstates {
extern int store_data(double time, int state, int cpu, struct cpuidle_datas *datas);
extern struct cpuidle_cstates *build_cstate_info(int nrcpus);
extern struct cpufreq_pstates *build_pstate_info(int nrcpus);
-extern void cpu_change_pstate(struct cpuidle_datas *datas, int cpu, unsigned int freq, double time);
+extern int cpu_change_pstate(struct cpuidle_datas *datas, int cpu, unsigned int freq, double time);
extern int get_wakeup_irq(struct cpuidle_datas *datas, char *buffer, int count);
#endif