summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/debug.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-01-27 13:59:25 -0600
committerJohn W. Linville <linville@tuxdriver.com>2012-01-30 15:48:23 -0500
commitd273bb20c00340748e3ca9730f87524ec5abbd64 (patch)
treeab67a4c86f76434b318c3177e4f974c188b497d8 /drivers/net/wireless/rtlwifi/debug.c
parent608383bfc04aa222c3e9e896c32f56a5e5deaff0 (diff)
downloadblackbird-op-linux-d273bb20c00340748e3ca9730f87524ec5abbd64.tar.gz
blackbird-op-linux-d273bb20c00340748e3ca9730f87524ec5abbd64.zip
rtlwifi: Move pr_fmt macros to a single location
Although the rtlwifi family of devices contains 11 copies of the pr_fmt macro, the macro is not defined for all routines that need it. By moving the macro to wifi.h, a single copy is available for all routines. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/debug.c')
-rw-r--r--drivers/net/wireless/rtlwifi/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/debug.c b/drivers/net/wireless/rtlwifi/debug.c
index 67dcbcdfaa7b..bdda9b2fffe1 100644
--- a/drivers/net/wireless/rtlwifi/debug.c
+++ b/drivers/net/wireless/rtlwifi/debug.c
@@ -28,6 +28,8 @@
#include "wifi.h"
+#include <linux/moduleparam.h>
+
void rtl_dbgp_flag_init(struct ieee80211_hw *hw)
{
struct rtl_priv *rtlpriv = rtl_priv(hw);
OpenPOWER on IntegriCloud