mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 18:21:49 +00:00
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 <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
40e318563c
commit
e73d313635
@ -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},
|
||||||
|
Loading…
Reference in New Issue
Block a user