aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/processor.h')
-rw-r--r--include/acpi/processor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 0574add2a1e3..4927c063347c 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -84,7 +84,6 @@ struct acpi_processor_power {
84 struct acpi_processor_cx *state; 84 struct acpi_processor_cx *state;
85 unsigned long bm_check_timestamp; 85 unsigned long bm_check_timestamp;
86 u32 default_state; 86 u32 default_state;
87 u32 bm_activity;
88 int count; 87 int count;
89 struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; 88 struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER];
90 int timer_broadcast_on_state; 89 int timer_broadcast_on_state;
@@ -322,7 +321,7 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr)
322int acpi_processor_tstate_has_changed(struct acpi_processor *pr); 321int acpi_processor_tstate_has_changed(struct acpi_processor *pr);
323int acpi_processor_get_throttling_info(struct acpi_processor *pr); 322int acpi_processor_get_throttling_info(struct acpi_processor *pr);
324extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state); 323extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
325extern struct file_operations acpi_processor_throttling_fops; 324extern const struct file_operations acpi_processor_throttling_fops;
326extern void acpi_processor_throttling_init(void); 325extern void acpi_processor_throttling_init(void);
327/* in processor_idle.c */ 326/* in processor_idle.c */
328int acpi_processor_power_init(struct acpi_processor *pr, 327int acpi_processor_power_init(struct acpi_processor *pr,
@@ -336,7 +335,7 @@ extern struct cpuidle_driver acpi_idle_driver;
336 335
337/* in processor_thermal.c */ 336/* in processor_thermal.c */
338int acpi_processor_get_limit_info(struct acpi_processor *pr); 337int acpi_processor_get_limit_info(struct acpi_processor *pr);
339extern struct file_operations acpi_processor_limit_fops; 338extern const struct file_operations acpi_processor_limit_fops;
340extern struct thermal_cooling_device_ops processor_cooling_ops; 339extern struct thermal_cooling_device_ops processor_cooling_ops;
341#ifdef CONFIG_CPU_FREQ 340#ifdef CONFIG_CPU_FREQ
342void acpi_thermal_cpufreq_init(void); 341void acpi_thermal_cpufreq_init(void);