• Arnd Bergmann's avatar
    Bluetooth: btrsi: rework dependencies · 255dd5b7
    Arnd Bergmann authored
    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: 38aa4da5 ("Bluetooth: btrsi: add new rsi bluetooth driver")
    Acked-by; Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    255dd5b7
Kconfig 1.64 KB