Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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},