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>
This commit is contained in:

committed by
John W. Linville

parent
608383bfc0
commit
d273bb20c0
@@ -27,10 +27,6 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/ip.h>
|
||||
#include <linux/module.h>
|
||||
#include "wifi.h"
|
||||
#include "rc.h"
|
||||
#include "base.h"
|
||||
@@ -39,6 +35,9 @@
|
||||
#include "ps.h"
|
||||
#include "regd.h"
|
||||
|
||||
#include <linux/ip.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
/*
|
||||
*NOTICE!!!: This file will be very big, we hsould
|
||||
*keep it clear under follwing roles:
|
||||
|
Reference in New Issue
Block a user