]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: btrsi: rework dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 15 Mar 2018 21:18:24 +0000 (22:18 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Mar 2018 07:11:58 +0000 (10:11 +0300)
commit255dd5b79d5474dad3ecebe99be7818684921abd
treef8902b1db63564beeb6439cd81b7c7725c1ae9a4
parentabd5f00844ec7fa507064ee4a22b3605c64c7d31
Bluetooth: btrsi: rework dependencies

The linkage between the bluetooth driver and the wireless
driver is not defined properly, leading to build problems
such as:

warning: (BT_HCIRSI) selects RSI_COEX which has unmet direct dependencies (NETDEVICES && WLAN && WLAN_VENDOR_RSI && BT_HCIRSI && RSI_91X)
drivers/net/wireless/rsi/rsi_91x_main.o: In function `rsi_read_pkt':
(.text+0x205): undefined reference to `rsi_bt_ops'

As the dependency is actually the reverse (RSI_91X uses
the BT_RSI driver, not the other way round), this changes
the dependency to match, and enables the bluetooth driver
from the RSI_COEX symbol.

Fixes: 38aa4da50483 ("Bluetooth: btrsi: add new rsi bluetooth driver")
Acked-by; Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bluetooth/Kconfig
drivers/net/wireless/rsi/Kconfig