linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled
@ 2017-01-02 13:23 Javier Martinez Canillas
  2017-02-16 16:38 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Martinez Canillas @ 2017-01-02 13:23 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Johan Hedberg, Marcel Holtmann,
	Gustavo Padovan, linux-bluetooth

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>
---

 drivers/bluetooth/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index 3cc9bff9d99d..c2c14a12713b 100644
--- a/drivers/bluetooth/Kconfig
+++ b/drivers/bluetooth/Kconfig
@@ -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.
-- 
2.7.4

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

* Re: [PATCH] Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled
  2017-01-02 13:23 [PATCH] Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled Javier Martinez Canillas
@ 2017-02-16 16:38 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2017-02-16 16:38 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: linux-kernel, Johan Hedberg, Gustavo F. Padovan, linux-bluetooth

Hi Javier,

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

patch has been applied to bluetooth-next tree.

Regards

Marcel

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

end of thread, other threads:[~2017-02-16 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-02 13:23 [PATCH] Bluetooth: btqcomsmd: Allow driver to build if COMPILE_TEST is enabled Javier Martinez Canillas
2017-02-16 16:38 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).