diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-07 16:12:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-07 20:28:44 -0400 |
commit | 28b7deae75642c51f097391765fd39ff0dd6ce95 (patch) | |
tree | 944ac968107870b0c9b1cd1bd4747df0c531f362 /net/wimax/wimax-internal.h | |
parent | 505e907db388185649d93925c9975d0a0704ea64 (diff) |
wimax: convert printk to pr_foo()
Use current logging functions and add module name prefix.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax/wimax-internal.h')
-rw-r--r-- | net/wimax/wimax-internal.h | 6 |
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 @@ | |||
30 | #define __WIMAX_INTERNAL_H__ | 30 | #define __WIMAX_INTERNAL_H__ |
31 | #ifdef __KERNEL__ | 31 | #ifdef __KERNEL__ |
32 | 32 | ||
33 | #ifdef pr_fmt | ||
34 | #undef pr_fmt | ||
35 | #endif | ||
36 | |||
37 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
38 | |||
33 | #include <linux/device.h> | 39 | #include <linux/device.h> |
34 | #include <net/wimax.h> | 40 | #include <net/wimax.h> |
35 | 41 | ||