Bluetooth: add WCNSS dependency for HCI driver
authorArnd Bergmann <arnd@arndb.de>
Mon, 29 Aug 2016 12:36:18 +0000 (14:36 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
The newly added bluetooth driver is based on the soc-specific support,
but lacks the obvious compile-time dependency on that:

drivers/bluetooth/btqcomsmd.o: In function `btqcomsmd_probe':
btqcomsmd.c:(.text.btqcomsmd_probe+0x40): undefined reference to `qcom_wcnss_open_channel'
btqcomsmd.c:(.text.btqcomsmd_probe+0x5c): undefined reference to `qcom_wcnss_open_channel'
Makefile:969: recipe for target 'vmlinux' failed

Fixes: 90c107dc8b2c ("Bluetooth: Introduce Qualcomm WCNSS SMD based HCI driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Kconfig

index 2c481911f1ce2ba9c5b9b1a4bd60516d78c034ac..43e9f9328df8bf6345518522419f248f3eb55cd2 100644 (file)
@@ -333,7 +333,7 @@ config BT_WILINK
 
 config BT_QCOMSMD
        tristate "Qualcomm SMD based HCI support"
-       depends on QCOM_SMD
+       depends on QCOM_SMD && QCOM_WCNSS_CTRL
        select BT_QCA
        help
          Qualcomm SMD based HCI driver.