aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2013-09-30 11:29:43 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-30 14:30:18 -0400
commitdd96dc32d59bdf620670a4a527ed9916796f654e (patch)
treeb8b683d566eae007369a57ee980318fa0b2dd680
parent766a8a6dd89268107df1f6783f6a6338efcbf07e (diff)
x86 / ACPI: fix incorrect placement of __initdata tag
__initdata tag should not be placed between "struct" and "resource" because it prevents the variable from being placed in the intended .init.data section. Fix it. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--arch/x86/kernel/acpi/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 40c76604199f..d00db60a5e04 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -745,7 +745,7 @@ static int __init acpi_parse_sbf(struct acpi_table_header *table)
745#ifdef CONFIG_HPET_TIMER 745#ifdef CONFIG_HPET_TIMER
746#include <asm/hpet.h> 746#include <asm/hpet.h>
747 747
748static struct __initdata resource *hpet_res; 748static struct resource *hpet_res __initdata;
749 749
750static int __init acpi_parse_hpet(struct acpi_table_header *table) 750static int __init acpi_parse_hpet(struct acpi_table_header *table)
751{ 751{