I have just realised the SPRC patch series in acpi-topic-mustang is different to the one in acpi-topic-seattle which does not suffer from this problem as the definitions are in include/linux/acpi.h instead and this function is already stubbed.
Graeme
On 14 July 2015 at 11:17, Graeme Gregory graeme.gregory@linaro.org wrote:
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*/
2.1.4