[v1] DEBUG: BT

Message ID 20180103173055.45679-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series
  • [v1] DEBUG: BT
Related show

Commit Message

Andy Shevchenko Jan. 3, 2018, 5:30 p.m.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/bluetooth/Makefile  | 2 ++
 drivers/bluetooth/btbcm.c   | 2 ++
 drivers/bluetooth/hci_bcm.c | 2 ++
 3 files changed, 6 insertions(+)

Comments

Andy Shevchenko Jan. 3, 2018, 5:32 p.m. | #1
On Wed, 2018-01-03 at 19:30 +0200, Andy Shevchenko wrote:

Sorry for the noise and happy New Year!

Wrong patch.

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/bluetooth/Makefile  | 2 ++
>  drivers/bluetooth/btbcm.c   | 2 ++
>  drivers/bluetooth/hci_bcm.c | 2 ++
>  3 files changed, 6 insertions(+)
> 
> diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile
> index 4e4e44d09796..2b4d3ab1972e 100644
> --- a/drivers/bluetooth/Makefile
> +++ b/drivers/bluetooth/Makefile
> @@ -44,3 +44,5 @@ hci_uart-$(CONFIG_BT_HCIUART_QCA)	+=
> hci_qca.o
>  hci_uart-$(CONFIG_BT_HCIUART_AG6XX)	+= hci_ag6xx.o
>  hci_uart-$(CONFIG_BT_HCIUART_MRVL)	+= hci_mrvl.o
>  hci_uart-objs				:= $(hci_uart-y)
> +
> +ccflags-y	+= -DDEBUG
> diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
> index afa4cb3b16e3..fb0371a935b1 100644
> --- a/drivers/bluetooth/btbcm.c
> +++ b/drivers/bluetooth/btbcm.c
> @@ -21,6 +21,8 @@
>   *
>   */
>  
> +#define DEBUG
> +
>  #include <linux/module.h>
>  #include <linux/firmware.h>
>  #include <asm/unaligned.h>
> diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
> index 1fc604a0d870..dedbafb4e38f 100644
> --- a/drivers/bluetooth/hci_bcm.c
> +++ b/drivers/bluetooth/hci_bcm.c
> @@ -21,6 +21,8 @@
>   *
>   */
>  
> +#define DEBUG
> +
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
>  #include <linux/skbuff.h>

Patch

diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile
index 4e4e44d09796..2b4d3ab1972e 100644
--- a/drivers/bluetooth/Makefile
+++ b/drivers/bluetooth/Makefile
@@ -44,3 +44,5 @@  hci_uart-$(CONFIG_BT_HCIUART_QCA)	+= hci_qca.o
 hci_uart-$(CONFIG_BT_HCIUART_AG6XX)	+= hci_ag6xx.o
 hci_uart-$(CONFIG_BT_HCIUART_MRVL)	+= hci_mrvl.o
 hci_uart-objs				:= $(hci_uart-y)
+
+ccflags-y	+= -DDEBUG
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index afa4cb3b16e3..fb0371a935b1 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -21,6 +21,8 @@ 
  *
  */
 
+#define DEBUG
+
 #include <linux/module.h>
 #include <linux/firmware.h>
 #include <asm/unaligned.h>
diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 1fc604a0d870..dedbafb4e38f 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -21,6 +21,8 @@ 
  *
  */
 
+#define DEBUG
+
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/skbuff.h>