aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/idle/intel_idle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 9d5ed3264135..dfa90558babf 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -1111,7 +1111,7 @@ static void intel_idle_state_table_update(void)
1111 * intel_idle_cpuidle_driver_init() 1111 * intel_idle_cpuidle_driver_init()
1112 * allocate, initialize cpuidle_states 1112 * allocate, initialize cpuidle_states
1113 */ 1113 */
1114static int __init intel_idle_cpuidle_driver_init(void) 1114static void __init intel_idle_cpuidle_driver_init(void)
1115{ 1115{
1116 int cstate; 1116 int cstate;
1117 struct cpuidle_driver *drv = &intel_idle_driver; 1117 struct cpuidle_driver *drv = &intel_idle_driver;
@@ -1173,8 +1173,6 @@ static int __init intel_idle_cpuidle_driver_init(void)
1173 1173
1174 if (icpu->disable_promotion_to_c1e) /* each-cpu is redundant */ 1174 if (icpu->disable_promotion_to_c1e) /* each-cpu is redundant */
1175 on_each_cpu(c1e_promotion_disable, NULL, 1); 1175 on_each_cpu(c1e_promotion_disable, NULL, 1);
1176
1177 return 0;
1178} 1176}
1179 1177
1180 1178