aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/siano/smscoreapi.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-19 20:59:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:22:42 -0300
commitf14d56a99bddb779f6f7ec028bcd9d142536589e (patch)
tree76f0de20e9c43f0c1d5985cd4a75573a2dccd602 /drivers/media/dvb/siano/smscoreapi.c
parenta0c0abcb1fdb316dee3a38cff9843d7d094c327c (diff)
V4L/DVB (8295): sms1xxx: add debug module option, to enable debug messages
All dmesg spam turned off by default, for now. Values for debug: (info=1, adv=2 (or-able) Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smscoreapi.c')
-rw-r--r--drivers/media/dvb/siano/smscoreapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c
index 6e2cc3d5716..402ed03be42 100644
--- a/drivers/media/dvb/siano/smscoreapi.c
+++ b/drivers/media/dvb/siano/smscoreapi.c
@@ -33,6 +33,10 @@
#include "smscoreapi.h"
+int sms_debug;
+module_param_named(debug, sms_debug, int, 0644);
+MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
+
#define PERROR(fmt, args...)\
sms_err("smscore error: line %d- %s(): " fmt, \
__LINE__, __func__, ## args)