summaryrefslogtreecommitdiff
path: root/net/wimax/wimax-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wimax/wimax-internal.h')
-rw-r--r--net/wimax/wimax-internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wimax/wimax-internal.h b/net/wimax/wimax-internal.h
index b445b82020a8..733c4bf8d4b3 100644
--- a/net/wimax/wimax-internal.h
+++ b/net/wimax/wimax-internal.h
@@ -30,6 +30,12 @@
#define __WIMAX_INTERNAL_H__
#ifdef __KERNEL__
+#ifdef pr_fmt
+#undef pr_fmt
+#endif
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/device.h>
#include <net/wimax.h>