linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Bluetooth: hci_uart: Include vendor headers if required
@ 2015-06-16 12:55 Chan-yeol Park
  2015-06-16 12:55 ` [PATCH 2/2] Bluetooth: hci_uart: Fix dereferencing of ERR_PTR Chan-yeol Park
  2015-06-16 14:21 ` [PATCH 1/2] Bluetooth: hci_uart: Include vendor headers if required Marcel Holtmann
  0 siblings, 2 replies; 7+ messages in thread
From: Chan-yeol Park @ 2015-06-16 12:55 UTC (permalink / raw)
  To: linux-bluetooth

Vendor specific headers should be included only when enabled because
hci_uart does not need it always.

Signed-off-by: Chan-yeol Park <chanyeol.park@samsung.com>
---
 drivers/bluetooth/hci_ldisc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index ac87346..231c622 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -45,8 +45,12 @@
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
 
+#ifdef CONFIG_BT_HCIUART_INTEL
 #include "btintel.h"
+#endif
+#ifdef CONFIG_BT_HCIUART_BCM
 #include "btbcm.h"
+#endif
 #include "hci_uart.h"
 
 #define VERSION "2.3"
-- 
2.1.4


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

end of thread, other threads:[~2015-06-17  9:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 12:55 [PATCH 1/2] Bluetooth: hci_uart: Include vendor headers if required Chan-yeol Park
2015-06-16 12:55 ` [PATCH 2/2] Bluetooth: hci_uart: Fix dereferencing of ERR_PTR Chan-yeol Park
2015-06-16 14:29   ` Marcel Holtmann
2015-06-17  4:39     ` Chan-yeol Park
2015-06-17  9:37       ` Marcel Holtmann
2015-06-16 14:21 ` [PATCH 1/2] Bluetooth: hci_uart: Include vendor headers if required Marcel Holtmann
2015-06-17  4:54   ` Chan-yeol Park

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