diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-30 06:17:28 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-30 06:17:28 -0500 |
commit | a418b893a6af11ae73c762ed5b76c1bad6dc19d8 (patch) | |
tree | a24f9192988e4d55077d77420b90dc3cfd647a06 /net/bluetooth/hidp | |
parent | 5ddd4a60683f819982b7bd3d1aee972f931c11a3 (diff) |
Bluetooth: Enable per-module dynamic debug messages
With the introduction of CONFIG_DYNAMIC_PRINTK_DEBUG it is possible to
allow debugging without having to recompile the kernel. This patch turns
all BT_DBG() calls into pr_debug() to support dynamic debug messages.
As a side effect all CONFIG_BT_*_DEBUG statements are now removed and
some broken debug entries have been fixed.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hidp')
-rw-r--r-- | net/bluetooth/hidp/core.c | 5 | ||||
-rw-r--r-- | net/bluetooth/hidp/sock.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index acdeab3d9807..b18676870d55 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c | |||
@@ -47,11 +47,6 @@ | |||
47 | 47 | ||
48 | #include "hidp.h" | 48 | #include "hidp.h" |
49 | 49 | ||
50 | #ifndef CONFIG_BT_HIDP_DEBUG | ||
51 | #undef BT_DBG | ||
52 | #define BT_DBG(D...) | ||
53 | #endif | ||
54 | |||
55 | #define VERSION "1.2" | 50 | #define VERSION "1.2" |
56 | 51 | ||
57 | static DECLARE_RWSEM(hidp_session_sem); | 52 | static DECLARE_RWSEM(hidp_session_sem); |
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index f4dd02ca9a96..37c9d7d2e688 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp/sock.c | |||
@@ -39,11 +39,6 @@ | |||
39 | 39 | ||
40 | #include "hidp.h" | 40 | #include "hidp.h" |
41 | 41 | ||
42 | #ifndef CONFIG_BT_HIDP_DEBUG | ||
43 | #undef BT_DBG | ||
44 | #define BT_DBG(D...) | ||
45 | #endif | ||
46 | |||
47 | static int hidp_sock_release(struct socket *sock) | 42 | static int hidp_sock_release(struct socket *sock) |
48 | { | 43 | { |
49 | struct sock *sk = sock->sk; | 44 | struct sock *sk = sock->sk; |