This adds an empty implementation of acpi_dev_remove_driver_gpios() for kernel version < 3.19, on these versions we do not support these acpi features. This is used by hci_bcm.c Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/acpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backport/backport-include/linux/acpi.h b/backport/backport-include/linux/acpi.h index ff55d76..395ca18 100644 --- a/backport/backport-include/linux/acpi.h +++ b/backport/backport-include/linux/acpi.h @@ -54,4 +54,10 @@ static inline struct acpi_device *_acpi_get_companion(struct device *dev) #define ACPI_COMPANION(dev) (NULL) #endif /* CONFIG_ACPI */ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) */ + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) +#define acpi_dev_remove_driver_gpios LINUX_BACKPORT(acpi_dev_remove_driver_gpios) +static inline void acpi_dev_remove_driver_gpios(struct acpi_device *adev) {} +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0) */ + #endif /* __BACKPORT_LINUX_ACPI_H */ -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in