Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 2 Jan 2017 13:23:23 +0000 (10:23 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Feb 2017 16:36:31 +0000 (17:36 +0100)
The driver only has runtime but no build time dependency with QCOM_SMD &&
QCOM_WCNSS_CTRL. So it can be built for testing purposes if COMPILE_TEST
option is enabled.

This is useful to have more build coverage and make sure that the driver
is not affected by changes that could cause build regressions.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Kconfig

index 3cc9bff..c2c14a1 100644 (file)
@@ -344,7 +344,7 @@ config BT_WILINK
 
 config BT_QCOMSMD
        tristate "Qualcomm SMD based HCI support"
-       depends on QCOM_SMD && QCOM_WCNSS_CTRL
+       depends on (QCOM_SMD && QCOM_WCNSS_CTRL) || COMPILE_TEST
        select BT_QCA
        help
          Qualcomm SMD based HCI driver.