Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
authorHans de Goede <hdegoede@redhat.com>
Tue, 14 Aug 2018 09:57:07 +0000 (11:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Aug 2018 14:36:12 +0000 (16:36 +0200)
commit51474eff2bc2777061ab3658e014a37dc9d7a775
tree876da34e15fb6f8dd8e570032472f80c7ac1a486
parentab08dcd724543896303eae7de6288242bbaff458
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 <arnd@arndb.de>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Kconfig