summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debug.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-07-09 16:35:18 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-09 16:35:18 -0400
commitfd2841c5b59c276796f730b77ef37408c0909f9c (patch)
tree34329300850e4addad576325840b6715e6894a9a /drivers/net/wireless/iwlwifi/iwl-debug.c
parent0af5491c2f6069bb6cff4260619749a90a208c98 (diff)
parent0ff1bd35f5aece42879b04cbfe6b4040cf50a697 (diff)
downloadblackbird-op-linux-fd2841c5b59c276796f730b77ef37408c0909f9c.tar.gz
blackbird-op-linux-fd2841c5b59c276796f730b77ef37408c0909f9c.zip
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debug.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.c b/drivers/net/wireless/iwlwifi/iwl-debug.c
index 0f8fcd1d4fe2..87535a67de76 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debug.c
+++ b/drivers/net/wireless/iwlwifi/iwl-debug.c
@@ -61,6 +61,9 @@
*
*****************************************************************************/
+#define DEBUG
+
+#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/export.h>
#include "iwl-debug.h"
@@ -124,7 +127,7 @@ void __iwl_dbg(struct device *dev,
#ifdef CONFIG_IWLWIFI_DEBUG
if (iwl_have_debug_level(level) &&
(!limit || net_ratelimit()))
- dev_err(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U',
+ dev_dbg(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U',
function, &vaf);
#endif
trace_iwlwifi_dbg(level, in_interrupt(), function, &vaf);
OpenPOWER on IntegriCloud