diff options
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r-- | drivers/mtd/ubi/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c index 8ae0bc7401ca..4c7a3f67156b 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c | |||
@@ -31,10 +31,13 @@ | |||
31 | #include <linux/moduleparam.h> | 31 | #include <linux/moduleparam.h> |
32 | 32 | ||
33 | unsigned int ubi_msg_flags; | 33 | unsigned int ubi_msg_flags; |
34 | unsigned int ubi_chk_flags; | ||
34 | 35 | ||
35 | module_param_named(debug_msgs, ubi_msg_flags, uint, S_IRUGO | S_IWUSR); | 36 | module_param_named(debug_msgs, ubi_msg_flags, uint, S_IRUGO | S_IWUSR); |
37 | module_param_named(debug_chks, ubi_chk_flags, uint, S_IRUGO | S_IWUSR); | ||
36 | 38 | ||
37 | MODULE_PARM_DESC(debug_msgs, "Debug message type flags"); | 39 | MODULE_PARM_DESC(debug_msgs, "Debug message type flags"); |
40 | MODULE_PARM_DESC(debug_chks, "Debug check flags"); | ||
38 | 41 | ||
39 | /** | 42 | /** |
40 | * ubi_dbg_dump_ec_hdr - dump an erase counter header. | 43 | * ubi_dbg_dump_ec_hdr - dump an erase counter header. |