Commit e73d3136 authored by Hanjun Guo's avatar Hanjun Guo Committed by Rafael J. Wysocki

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: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 40e31856
...@@ -1352,8 +1352,8 @@ struct osi_setup_entry { ...@@ -1352,8 +1352,8 @@ struct osi_setup_entry {
bool enable; bool enable;
}; };
static struct osi_setup_entry __initdata static struct osi_setup_entry
osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = {
{"Module Device", true}, {"Module Device", true},
{"Processor Device", true}, {"Processor Device", true},
{"3.0 _SCP Extensions", true}, {"3.0 _SCP Extensions", true},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment