mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 17:46:39 +07:00
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>
This commit is contained in:
parent
766a8a6dd8
commit
dd96dc32d5
@ -745,7 +745,7 @@ static int __init acpi_parse_sbf(struct acpi_table_header *table)
|
||||
#ifdef CONFIG_HPET_TIMER
|
||||
#include <asm/hpet.h>
|
||||
|
||||
static struct __initdata resource *hpet_res;
|
||||
static struct resource *hpet_res __initdata;
|
||||
|
||||
static int __init acpi_parse_hpet(struct acpi_table_header *table)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user