From: Hanjun Guo Date: Tue, 13 Aug 2013 10:31:15 +0000 (+0800) Subject: ACPI / osl: Fix osi_setup_entries[] __initdata attribute location X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e73d3136355f511d3e1c2ef21acf02b19bd2b650;p=deliverable%2Flinux.git ACPI / osl: Fix osi_setup_entries[] __initdata attribute location __initdata should come after the variable name being declared and nowhere else, in this way the variable will be placed in the intended section. Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 605718f66642..eb95978854a3 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1352,8 +1352,8 @@ struct osi_setup_entry { bool enable; }; -static struct osi_setup_entry __initdata - osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { +static struct osi_setup_entry + osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { {"Module Device", true}, {"Processor Device", true}, {"3.0 _SCP Extensions", true},