aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-17 08:46:01 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-20 01:30:34 -0400
commitab50ff684707031ed4bad2fdd313208ae392e5bb (patch)
tree8e16e8f0c858a2b3dde789aafd3a98167cf0193b /drivers/mtd/ubi/debug.c
parentebfce01a6dfa2bd30a16efdeb417862ea0355d3b (diff)
UBI: switch to dynamic printks
Remove custom dynamic prints and the module parameter to toggle them and use the generic kernel dynamic printk infrastructure. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r--drivers/mtd/ubi/debug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index 0cd5beabe9c9..2224cbe41ddf 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -30,15 +30,12 @@
30#include <linux/module.h> 30#include <linux/module.h>
31#include <linux/moduleparam.h> 31#include <linux/moduleparam.h>
32 32
33unsigned int ubi_msg_flags;
34unsigned int ubi_chk_flags; 33unsigned int ubi_chk_flags;
35unsigned int ubi_tst_flags; 34unsigned int ubi_tst_flags;
36 35
37module_param_named(debug_msgs, ubi_msg_flags, uint, S_IRUGO | S_IWUSR);
38module_param_named(debug_chks, ubi_chk_flags, uint, S_IRUGO | S_IWUSR); 36module_param_named(debug_chks, ubi_chk_flags, uint, S_IRUGO | S_IWUSR);
39module_param_named(debug_tsts, ubi_chk_flags, uint, S_IRUGO | S_IWUSR); 37module_param_named(debug_tsts, ubi_chk_flags, uint, S_IRUGO | S_IWUSR);
40 38
41MODULE_PARM_DESC(debug_msgs, "Debug message type flags");
42MODULE_PARM_DESC(debug_chks, "Debug check flags"); 39MODULE_PARM_DESC(debug_chks, "Debug check flags");
43MODULE_PARM_DESC(debug_tsts, "Debug special test flags"); 40MODULE_PARM_DESC(debug_tsts, "Debug special test flags");
44 41