summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-07 13:46:55 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-07 23:49:28 +0200
commit6cef74970186797c45b3add1e73a14aa71d338d1 (patch)
treef5b58bbf719558a274d5a411144113a3785c4535 /drivers/acpi/ec.c
parentACPI / scan: Drop unnecessary label from acpi_create_platform_device() (diff)
downloadlinux-6cef74970186797c45b3add1e73a14aa71d338d1.tar.xz
linux-6cef74970186797c45b3add1e73a14aa71d338d1.zip
ACPI / EC: Fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r--drivers/acpi/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 80403c1a89f8..34448038724b 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -948,7 +948,7 @@ static int ec_enlarge_storm_threshold(const struct dmi_system_id *id)
return 0;
}
-static struct dmi_system_id __initdata ec_dmi_table[] = {
+static struct dmi_system_id ec_dmi_table[] __initdata = {
{
ec_skip_dsdt_scan, "Compal JFL92", {
DMI_MATCH(DMI_BIOS_VENDOR, "COMPAL"),