Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
@ 2018-08-14  9:57 Hans de Goede
  2018-08-14 10:25 ` Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hans de Goede @ 2018-08-14  9:57 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg, Martin Blumenstingl
  Cc: Hans de Goede, Jeremy Cline, linux-bluetooth, linux-serial,
	linux-acpi, Arnd Bergmann

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>
---
 drivers/bluetooth/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index 933eb90d1ce2..709ed3f7dfe8 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
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-21 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14  9:57 [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI Hans de Goede
2018-08-14 10:25 ` Arnd Bergmann
2018-08-14 10:36   ` Marcel Holtmann
2018-08-14 11:01     ` Arnd Bergmann
2018-08-20 20:54 ` Geert Uytterhoeven
2018-08-21 14:37 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox