proper prototype for acpi_processor_tstate_has_changed()
This patch adds a proper prototype for acpi_processor_tstate_has_changed() in include/acpi/processor.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
39b8931b5c
commit
a66b34b26f
|
@ -86,7 +86,6 @@ static int acpi_processor_info_open_fs(struct inode *inode, struct file *file);
|
||||||
static void acpi_processor_notify(acpi_handle handle, u32 event, void *data);
|
static void acpi_processor_notify(acpi_handle handle, u32 event, void *data);
|
||||||
static acpi_status acpi_processor_hotadd_init(acpi_handle handle, int *p_cpu);
|
static acpi_status acpi_processor_hotadd_init(acpi_handle handle, int *p_cpu);
|
||||||
static int acpi_processor_handle_eject(struct acpi_processor *pr);
|
static int acpi_processor_handle_eject(struct acpi_processor *pr);
|
||||||
extern int acpi_processor_tstate_has_changed(struct acpi_processor *pr);
|
|
||||||
|
|
||||||
|
|
||||||
static const struct acpi_device_id processor_device_ids[] = {
|
static const struct acpi_device_id processor_device_ids[] = {
|
||||||
|
|
|
@ -319,6 +319,7 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr)
|
||||||
#endif /* CONFIG_CPU_FREQ */
|
#endif /* CONFIG_CPU_FREQ */
|
||||||
|
|
||||||
/* in processor_throttling.c */
|
/* in processor_throttling.c */
|
||||||
|
int acpi_processor_tstate_has_changed(struct acpi_processor *pr);
|
||||||
int acpi_processor_get_throttling_info(struct acpi_processor *pr);
|
int acpi_processor_get_throttling_info(struct acpi_processor *pr);
|
||||||
extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
|
extern int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
|
||||||
extern struct file_operations acpi_processor_throttling_fops;
|
extern struct file_operations acpi_processor_throttling_fops;
|
||||||
|
|
Loading…
Reference in New Issue