aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debug.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.h b/drivers/net/wireless/iwlwifi/iwl-debug.h
index f98921880ab..9c209d635d5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debug.h
+++ b/drivers/net/wireless/iwlwifi/iwl-debug.h
@@ -160,8 +160,10 @@ static inline void iwl_dbgfs_unregister(struct iwl_priv *priv)
160#define IWL_DL_TX_REPLY (1 << 30) 160#define IWL_DL_TX_REPLY (1 << 30)
161#define IWL_DL_QOS (1 << 31) 161#define IWL_DL_QOS (1 << 31)
162 162
163#define IWL_ERROR(f, a...) printk(KERN_ERR DRV_NAME ": " f, ## a) 163#define IWL_ERROR(f, a...) dev_printk(KERN_ERR, \
164#define IWL_WARNING(f, a...) printk(KERN_WARNING DRV_NAME ": " f, ## a) 164 &(priv->hw->wiphy->dev), f, ## a)
165#define IWL_WARNING(f, a...) dev_printk(KERN_WARNING, \
166 &(priv->hw->wiphy->dev), f, ## a)
165#define IWL_DEBUG_INFO(f, a...) IWL_DEBUG(IWL_DL_INFO, f, ## a) 167#define IWL_DEBUG_INFO(f, a...) IWL_DEBUG(IWL_DL_INFO, f, ## a)
166 168
167#define IWL_DEBUG_MAC80211(f, a...) IWL_DEBUG(IWL_DL_MAC80211, f, ## a) 169#define IWL_DEBUG_MAC80211(f, a...) IWL_DEBUG(IWL_DL_MAC80211, f, ## a)