module: Fix pr_fmt() bug for header use of printk
authorJoe Perches <joe@perches.com>
Tue, 30 May 2017 22:20:37 +0000 (15:20 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 24 Jul 2017 23:01:33 +0000 (16:01 -0700)
commite2c75fcae4d72b229830ae7e7438d544bb71bf89
tree263521d32ace46db728d006a28b95bb450e27e6b
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
module: Fix pr_fmt() bug for header use of printk

This commit removes the pr_fmt() macro, replacing it with mod_err() and
mod_debug() macros to avoid errors when using printk() from header files.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
arch/blackfin/kernel/module.c