Skip to content

Commit 6eb0443

Browse files
committed
intel_idle: Reorder declarations of static variables
Reorder declarations of static variables so that the __initdata ones are declared together. No functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent ab1a852 commit 6eb0443

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/idle/intel_idle.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static struct cpuidle_driver intel_idle_driver = {
6565
static int max_cstate = CPUIDLE_STATE_MAX - 1;
6666
static unsigned int disabled_states_mask;
6767

68-
static unsigned int mwait_substates __initdata;
68+
static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
6969

7070
static unsigned long auto_demotion_disable_flags;
7171
static bool disable_promotion_to_c1e;
@@ -86,9 +86,10 @@ struct idle_cpu {
8686
};
8787

8888
static const struct idle_cpu *icpu __initdata;
89-
static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
9089
static struct cpuidle_state *cpuidle_state_table __initdata;
9190

91+
static unsigned int mwait_substates __initdata;
92+
9293
/*
9394
* Enable this state by default even if the ACPI _CST does not list it.
9495
*/

0 commit comments

Comments
 (0)