diff options
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 6216115c7789..b60f6ba01d0c 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/mutex.h> | 14 | #include <linux/mutex.h> |
15 | #include <linux/notifier.h> | 15 | #include <linux/notifier.h> |
16 | #include <linux/threads.h> | 16 | #include <linux/threads.h> |
17 | #include <linux/device.h> | ||
18 | #include <linux/kobject.h> | 17 | #include <linux/kobject.h> |
19 | #include <linux/sysfs.h> | 18 | #include <linux/sysfs.h> |
20 | #include <linux/completion.h> | 19 | #include <linux/completion.h> |
@@ -35,6 +34,7 @@ | |||
35 | #ifdef CONFIG_CPU_FREQ | 34 | #ifdef CONFIG_CPU_FREQ |
36 | int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list); | 35 | int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list); |
37 | int cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list); | 36 | int cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list); |
37 | extern void disable_cpufreq(void); | ||
38 | #else /* CONFIG_CPU_FREQ */ | 38 | #else /* CONFIG_CPU_FREQ */ |
39 | static inline int cpufreq_register_notifier(struct notifier_block *nb, | 39 | static inline int cpufreq_register_notifier(struct notifier_block *nb, |
40 | unsigned int list) | 40 | unsigned int list) |
@@ -46,6 +46,7 @@ static inline int cpufreq_unregister_notifier(struct notifier_block *nb, | |||
46 | { | 46 | { |
47 | return 0; | 47 | return 0; |
48 | } | 48 | } |
49 | static inline void disable_cpufreq(void) { } | ||
49 | #endif /* CONFIG_CPU_FREQ */ | 50 | #endif /* CONFIG_CPU_FREQ */ |
50 | 51 | ||
51 | /* if (cpufreq_driver->target) exists, the ->governor decides what frequency | 52 | /* if (cpufreq_driver->target) exists, the ->governor decides what frequency |