diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-07-03 13:07:35 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-07-04 20:17:22 -0700 |
commit | ff49d74ad383f54041378144ca1a229ee9aeaa59 (patch) | |
tree | 6f37335e313c9a680db8d4e4ce00d17aa11a099b /drivers/mfd/tc35892.c | |
parent | e3668dd83ba5958429984286efbc3055be5344c4 (diff) |
module: initialize module dynamic debug later
We should initialize the module dynamic debug datastructures
only after determining that the module is not loaded yet. This
fixes a bug that introduced in 2.6.35-rc2, where when a trying
to load a module twice, we also load it's dynamic printing data
twice which causes all sorts of nasty issues. Also handle
the dynamic debug cleanup later on failure.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (removed a #ifdef)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/tc35892.c')
0 files changed, 0 insertions, 0 deletions