diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-08-13 06:31:15 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-13 06:37:16 -0400 |
commit | e73d3136355f511d3e1c2ef21acf02b19bd2b650 (patch) | |
tree | 44b64b8fc9422f763b7a7056c21237288488db76 /drivers/acpi/osl.c | |
parent | 40e318563c3748fd5c6712d163e5d663af8b22ae (diff) |
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>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
1352 | bool enable; | 1352 | bool enable; |
1353 | }; | 1353 | }; |
1354 | 1354 | ||
1355 | static struct osi_setup_entry __initdata | 1355 | static struct osi_setup_entry |
1356 | osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { | 1356 | osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { |
1357 | {"Module Device", true}, | 1357 | {"Module Device", true}, |
1358 | {"Processor Device", true}, | 1358 | {"Processor Device", true}, |
1359 | {"3.0 _SCP Extensions", true}, | 1359 | {"3.0 _SCP Extensions", true}, |