]> git.karo-electronics.de Git - karo-tx-linux.git/commit
module: replace DEBUGP with pr_debug
authorJim Cromie <jim.cromie@gmail.com>
Tue, 6 Dec 2011 19:11:31 +0000 (12:11 -0700)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 11 Dec 2011 22:52:11 +0000 (09:52 +1100)
commitd9f19fec059351ff8949d8a0bd3497172ecb6fa8
treea090ae6337e28e614ac705b6f9e54fd7b694cd0d
parent0fa30b56e3ed83614f76bb4567b5dfaed87473d9
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