Thread (6 messages) 6 messages, 4 authors, 2018-08-21

Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI

From: Arnd Bergmann <arnd@arndb.de>
Date: 2018-08-14 10:25:47

On Tue, Aug 14, 2018 at 11:57 AM Hans de Goede [off-list ref] wrote:
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 <redacted>
This fixes the warning,

Acked-by: Arnd Bergmann <arnd@arndb.de>

I wonder whether CONFIG_BT_HCIUART_3WIRE should also
depend on ACPI and/or become a silent option, since it's currently
useless when either ACPI or BT_HCIUART_RTL are disabled,
and it seems possible that things break differently when another
back-end gets added there.

     Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help