summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-01-15 12:38:44 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-01-24 23:21:14 +0400
commit02f77195db6ce252d5488b6d48d8edc1c5e2aa30 (patch)
treec04932d7ec86a3558a58bb24b4e5481607545990 /drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
parentc2e6d5abab73df316d2ae7caa6d902c143b2d52d (diff)
downloadlinux-02f77195db6ce252d5488b6d48d8edc1c5e2aa30.tar.xz
brcm80211: Use pr_fmt and pr_<level>
Convert printks to pr_<level> Prefix logging with pr_fmt. Use ##__VA_ARGS__ in some WL_ logging macros. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
index 1c75ea887ac3..4187435220f3 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
@@ -13,6 +13,9 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/sched.h>