We had a missing symbol so define this as NULL for arm as it is currenly unused on arm platform
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- arch/arm/include/asm/acpi.h | 2 +- drivers/acpi/plat/arm-core.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/acpi.h b/arch/arm/include/asm/acpi.h index 651a15c..5f9b142 100644 --- a/arch/arm/include/asm/acpi.h +++ b/arch/arm/include/asm/acpi.h @@ -105,7 +105,7 @@ extern struct acpi_arm_root acpi_arm_rsdp_info; void arm_acpi_reserve_memory(void);
/* Low-level suspend routine. */ -extern int acpi_suspend_lowlevel(void); +extern int (*acpi_suspend_lowlevel)(void);
extern void prefill_possible_map(void);
diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c index 8031ec3..bb37efe 100644 --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -78,6 +78,12 @@ static u64 acpi_lapic_addr __initdata; struct acpi_arm_root acpi_arm_rsdp_info; /* info about RSDP from FDT */
/* + * This function pointer is needed to be defined but for now will be NULL + * on arm where sleep is handled differently than x86 + */ +int (*acpi_suspend_lowlevel)(void); + +/* * Boot-time Configuration */