diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-01-27 14:59:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-30 15:48:23 -0500 |
commit | d273bb20c00340748e3ca9730f87524ec5abbd64 (patch) | |
tree | ab67a4c86f76434b318c3177e4f974c188b497d8 /drivers/net/wireless/rtlwifi/rtl8192se/sw.c | |
parent | 608383bfc04aa222c3e9e896c32f56a5e5deaff0 (diff) |
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/rtl8192se/sw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192se/sw.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/sw.c b/drivers/net/wireless/rtlwifi/rtl8192se/sw.c index 3bc0128deeaa..0c47310b39b9 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/sw.c | |||
@@ -27,11 +27,6 @@ | |||
27 | * | 27 | * |
28 | *****************************************************************************/ | 28 | *****************************************************************************/ |
29 | 29 | ||
30 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
31 | |||
32 | #include <linux/vmalloc.h> | ||
33 | #include <linux/module.h> | ||
34 | |||
35 | #include "../wifi.h" | 30 | #include "../wifi.h" |
36 | #include "../core.h" | 31 | #include "../core.h" |
37 | #include "../pci.h" | 32 | #include "../pci.h" |
@@ -45,6 +40,8 @@ | |||
45 | #include "trx.h" | 40 | #include "trx.h" |
46 | #include "led.h" | 41 | #include "led.h" |
47 | 42 | ||
43 | #include <linux/module.h> | ||
44 | |||
48 | static void rtl92s_init_aspm_vars(struct ieee80211_hw *hw) | 45 | static void rtl92s_init_aspm_vars(struct ieee80211_hw *hw) |
49 | { | 46 | { |
50 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); | 47 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); |