aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/usb.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-01-27 14:59:25 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-30 15:48:23 -0500
commitd273bb20c00340748e3ca9730f87524ec5abbd64 (patch)
treeab67a4c86f76434b318c3177e4f974c188b497d8 /drivers/net/wireless/rtlwifi/usb.c
parent608383bfc04aa222c3e9e896c32f56a5e5deaff0 (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/usb.c')
-rw-r--r--drivers/net/wireless/rtlwifi/usb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/rtlwifi/usb.c b/drivers/net/wireless/rtlwifi/usb.c
index 78194e30fcd5..e7a7ea96f42b 100644
--- a/drivers/net/wireless/rtlwifi/usb.c
+++ b/drivers/net/wireless/rtlwifi/usb.c
@@ -25,16 +25,13 @@
25 * 25 *
26 *****************************************************************************/ 26 *****************************************************************************/
27 27
28#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
29
30#include <linux/usb.h>
31#include <linux/export.h>
32#include "core.h"
33#include "wifi.h" 28#include "wifi.h"
29#include "core.h"
34#include "usb.h" 30#include "usb.h"
35#include "base.h" 31#include "base.h"
36#include "ps.h" 32#include "ps.h"
37#include "rtl8192c/fw_common.h" 33#include "rtl8192c/fw_common.h"
34#include <linux/export.h>
38 35
39#define REALTEK_USB_VENQT_READ 0xC0 36#define REALTEK_USB_VENQT_READ 0xC0
40#define REALTEK_USB_VENQT_WRITE 0x40 37#define REALTEK_USB_VENQT_WRITE 0x40