net/atm: Convert printk to pr_<level>
[deliverable/linux.git] / net / atm / mpc.c
index 38a6cb0863f052d5557ee4938475a576bc64b632..3c45aef47b7e2d9c04797587184e50c54d16dfaf 100644 (file)
@@ -1,3 +1,5 @@
+#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
+
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/timer.h>
@@ -1447,7 +1449,7 @@ static __init int atm_mpoa_init(void)
        register_atm_ioctl(&atm_ioctl_ops);
 
        if (mpc_proc_init() != 0)
-               printk(KERN_INFO "mpoa: failed to initialize /proc/mpoa\n");
+               pr_info("failed to initialize /proc/mpoa\n");
 
        printk("mpc.c: " __DATE__ " " __TIME__ " initialized\n");
 
This page took 0.025241 seconds and 5 git commands to generate.