diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-07 22:12:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-08 02:28:44 +0200 |
commit | 28b7deae75642c51f097391765fd39ff0dd6ce95 (patch) | |
tree | 944ac968107870b0c9b1cd1bd4747df0c531f362 /net/wimax/wimax-internal.h | |
parent | af_unix: remove 0 assignment on static (diff) | |
download | linux-28b7deae75642c51f097391765fd39ff0dd6ce95.tar.xz linux-28b7deae75642c51f097391765fd39ff0dd6ce95.zip |
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 '')
-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 @@ #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> |