module: replace DEBUGP with pr_debug
authorJim Cromie <jim.cromie@gmail.com>
Tue, 6 Dec 2011 19:11:31 +0000 (12:11 -0700)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:15 +0000 (09:02 +1030)
commit5e12416927975aa3c58394cea15db6c3e488a033
tree267635bb138364dcb8f30de00c2d5f21dc5bcf63
parentbd77c04772da38fca510c81f78e51f727123b919
module: replace DEBUGP with pr_debug

Use more flexible pr_debug.  This allows:

  echo "module module +p" > /dbg/dynamic_debug/control

to turn on debug messages when needed.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c