[ACPI] make two processor functions static
acpi_processor_write_throttling() acpi_processor_write_limit() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -348,7 +348,7 @@ static int acpi_processor_limit_open_fs(struct inode *inode, struct file *file)
|
|||||||
PDE(inode)->data);
|
PDE(inode)->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t acpi_processor_write_limit(struct file * file,
|
static ssize_t acpi_processor_write_limit(struct file * file,
|
||||||
const char __user * buffer,
|
const char __user * buffer,
|
||||||
size_t count, loff_t * data)
|
size_t count, loff_t * data)
|
||||||
{
|
{
|
||||||
|
@@ -306,7 +306,7 @@ static int acpi_processor_throttling_open_fs(struct inode *inode,
|
|||||||
PDE(inode)->data);
|
PDE(inode)->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t acpi_processor_write_throttling(struct file * file,
|
static ssize_t acpi_processor_write_throttling(struct file * file,
|
||||||
const char __user * buffer,
|
const char __user * buffer,
|
||||||
size_t count, loff_t * data)
|
size_t count, loff_t * data)
|
||||||
{
|
{
|
||||||
|
@@ -235,9 +235,6 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr)
|
|||||||
/* in processor_throttling.c */
|
/* in processor_throttling.c */
|
||||||
int acpi_processor_get_throttling_info(struct acpi_processor *pr);
|
int acpi_processor_get_throttling_info(struct acpi_processor *pr);
|
||||||
int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
|
int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
|
||||||
ssize_t acpi_processor_write_throttling(struct file *file,
|
|
||||||
const char __user * buffer,
|
|
||||||
size_t count, loff_t * data);
|
|
||||||
extern struct file_operations acpi_processor_throttling_fops;
|
extern struct file_operations acpi_processor_throttling_fops;
|
||||||
|
|
||||||
/* in processor_idle.c */
|
/* in processor_idle.c */
|
||||||
@@ -249,9 +246,6 @@ int acpi_processor_power_exit(struct acpi_processor *pr,
|
|||||||
|
|
||||||
/* in processor_thermal.c */
|
/* in processor_thermal.c */
|
||||||
int acpi_processor_get_limit_info(struct acpi_processor *pr);
|
int acpi_processor_get_limit_info(struct acpi_processor *pr);
|
||||||
ssize_t acpi_processor_write_limit(struct file *file,
|
|
||||||
const char __user * buffer,
|
|
||||||
size_t count, loff_t * data);
|
|
||||||
extern struct file_operations acpi_processor_limit_fops;
|
extern struct file_operations acpi_processor_limit_fops;
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_FREQ
|
#ifdef CONFIG_CPU_FREQ
|
||||||
|
Reference in New Issue
Block a user