Skip to contentSkip to conversation

linux-next: build failure after merge of the bluetooth tree

PATCH Stephen Rothwell 1 participant 1 message Aug 12, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Gustavo,

After merging the bluetooth tree, today's linux-next build (powerpc allyesconfig) failed like this:

drivers/bluetooth/hci_bcm.c: In function 'bcm_acpi_probe':
drivers/bluetooth/hci_bcm.c:458:2: error: implicit declaration of function 'acpi_dev_get_resources' [-Werror=implicit-function-declaration]
acpi_dev_get_resources(adev, &resources, bcm_resource, dev);
^

Caused by commit

ae056908862b ("Bluetooth: hci_bcm: Retrieve UART speed from ACPI")

This build does not have ACPI enabled.

I have added the following patch for today:

From: Stephen Rothwell <[email protected]>
Date: Wed, 12 Aug 2015 17:58:00 +1000
Subject: [PATCH] Bluetooth: hci_bcm: need to depend on CONFIG_ACPI

---
 drivers/bluetooth/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/Kconfig +1 -0
index 0bd88c942a52..affaecab4fa6 100644
@@ -147,6 +147,7 @@ config BT_HCIUART_INTEL
 config BT_HCIUART_BCM
 	bool "Broadcom protocol support"
 	depends on BT_HCIUART
+	depends on ACPI
 	select BT_HCIUART_H4
 	select BT_BCM
 	help
Signature · 5 lines
2.5.0

-- 
Cheers,
Stephen Rothwell                    [email protected]