Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / include / linux / cpuidle.h
index 781addc66f03135e1fe033bd6aeb0476c0321fd2..50fcbb0ac4e7033922508aa1fc805936087cd5f2 100644 (file)
@@ -114,7 +114,7 @@ struct cpuidle_driver {
        int                     safe_state_index;
 
        /* the driver handles the cpus in cpumask */
-       struct cpumask       *cpumask;
+       struct cpumask          *cpumask;
 };
 
 #ifdef CONFIG_CPU_IDLE
@@ -195,16 +195,10 @@ struct cpuidle_governor {
 };
 
 #ifdef CONFIG_CPU_IDLE
-
 extern int cpuidle_register_governor(struct cpuidle_governor *gov);
-extern void cpuidle_unregister_governor(struct cpuidle_governor *gov);
-
 #else
-
 static inline int cpuidle_register_governor(struct cpuidle_governor *gov)
 {return 0;}
-static inline void cpuidle_unregister_governor(struct cpuidle_governor *gov) { }
-
 #endif
 
 #ifdef CONFIG_ARCH_HAS_CPU_RELAX