--- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -29,7 +29,9 @@ #include #include #include +#if LINUX_VERSION_IS_GEQ(3,13,0) #include +#endif #include #include #include @@ -812,7 +820,7 @@ static const struct hci_uart_proto bcm_p .dequeue = bcm_dequeue, }; -#ifdef CONFIG_ACPI +#if defined(CONFIG_ACPI) && LINUX_VERSION_IS_GEQ(3,19,0) static const struct acpi_device_id bcm_acpi_match[] = { { "BCM2E1A", 0 }, { "BCM2E39", 0 }, @@ -843,7 +851,9 @@ static struct platform_driver bcm_driver .remove = bcm_remove, .driver = { .name = "hci_bcm", +#if LINUX_VERSION_IS_GEQ(3,19,0) .acpi_match_table = ACPI_PTR(bcm_acpi_match), +#endif .pm = &bcm_pm_ops, }, };