Skip to contentSkip to conversation

intel_idle: shrink avn_cstates table and mark it with __initdata tag

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Nov 21, 2013 Intel idle driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel_idle: shrink avn_cstates table and mark it with __initdata tag

This is a fixup for commit fab04b2 ("intel_idle: Support Intel Atom Processor C2000 Product Family") which didn't take into account changes done in commits eba682a ("intel_idle: shrink states tables") and 00f3e75 ("intel_idle: mark states tables with __initdata tag").

---
 drivers/idle/intel_idle.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/idle/intel_idle.c +2 -1
index cbd4e9a..f4bdf72 100644
@@ -329,7 +329,8 @@ static struct cpuidle_state atom_cstates[] __initdata = {
 	{
 		.enter = NULL }
 };
-static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = {
+
+static struct cpuidle_state avn_cstates[] __initdata = {
 	{
 		.name = "C1-AVN",
 		.desc = "MWAIT 0x00",
Signature · 1 line
1.8.2.3