diff options
Diffstat (limited to 'drivers/cpuidle/cpuidle.h')
| -rw-r--r-- | drivers/cpuidle/cpuidle.h | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/cpuidle/cpuidle.h b/drivers/cpuidle/cpuidle.h index 38c3fd8b9d7..7db186685c2 100644 --- a/drivers/cpuidle/cpuidle.h +++ b/drivers/cpuidle/cpuidle.h @@ -5,7 +5,7 @@  #ifndef __DRIVER_CPUIDLE_H  #define __DRIVER_CPUIDLE_H -#include <linux/sysdev.h> +#include <linux/device.h>  /* For internal use only */  extern struct cpuidle_governor *cpuidle_curr_governor; @@ -23,11 +23,11 @@ extern void cpuidle_uninstall_idle_handler(void);  extern int cpuidle_switch_governor(struct cpuidle_governor *gov);  /* sysfs */ -extern int cpuidle_add_class_sysfs(struct sysdev_class *cls); -extern void cpuidle_remove_class_sysfs(struct sysdev_class *cls); +extern int cpuidle_add_interface(struct device *dev); +extern void cpuidle_remove_interface(struct device *dev);  extern int cpuidle_add_state_sysfs(struct cpuidle_device *device);  extern void cpuidle_remove_state_sysfs(struct cpuidle_device *device); -extern int cpuidle_add_sysfs(struct sys_device *sysdev); -extern void cpuidle_remove_sysfs(struct sys_device *sysdev); +extern int cpuidle_add_sysfs(struct device *dev); +extern void cpuidle_remove_sysfs(struct device *dev);  #endif /* __DRIVER_CPUIDLE_H */  |