Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI

At the moment we only support ACPI enumeration for serial port attached
RTL bluetooth controllers.

This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
option, fixing the following warning when ACPI is not enabled:

drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used

Cc: Arnd Bergmann <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
Hans de Goede 2018-08-14 11:57:07 +02:00 • committed by Marcel Holtmann
commit 51474eff2b

View file

@ -200,6 +200,7 @@ config BT_HCIUART_RTL
depends on BT_HCIUART
depends on BT_HCIUART_SERDEV
depends on GPIOLIB
depends on ACPI
select BT_HCIUART_3WIRE
select BT_RTL
help