diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-08-14 11:57:07 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-08-21 16:36:12 +0200 |
commit | 51474eff2bc2777061ab3658e014a37dc9d7a775 (patch) | |
tree | 876da34e15fb6f8dd8e570032472f80c7ac1a486 /drivers/bluetooth/Kconfig | |
parent | rhashtable: remove duplicated include from rhashtable.c (diff) | |
download | linux-51474eff2bc2777061ab3658e014a37dc9d7a775.tar.xz linux-51474eff2bc2777061ab3658e014a37dc9d7a775.zip |
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>
Diffstat (limited to 'drivers/bluetooth/Kconfig')
-rw-r--r-- | drivers/bluetooth/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index 2df11cc08a46..845b0314ce3a 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -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 |