SPCR is broken in CONFIG_ACPI=n the function headers are defined in asm/acpi.h which is not included when CONFIG_ACPI=n
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- include/linux/acpi.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index ae29a09..a75275e 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -813,4 +813,12 @@ static inline struct acpi_device *acpi_get_next_child(struct device *dev,
#endif
+#if !defined(CONFIG_ACPI) +static inline bool acpi_spcr_console_check(struct acpi_device *adev, + char *name, int index) +{ + return false; +} +#endif + #endif /*_LINUX_ACPI_H*/