diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-05 10:25:06 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-05 10:25:06 +0000 |
commit | b16003f763962973b1ec89b94f4f1f063b25e957 (patch) | |
tree | 77f8d10ffe2f1ae76266ec5a5d56ef123198400f /linux/drivers/media/dvb/siano/smscoreapi.h | |
parent | 56e85790c8d7256d555de35a62fa0e13535f62fd (diff) | |
download | mediapointer-dvb-s2-b16003f763962973b1ec89b94f4f1f063b25e957.tar.gz mediapointer-dvb-s2-b16003f763962973b1ec89b94f4f1f063b25e957.tar.bz2 |
Siano: unified the debug filter module parameter (dvb and core)
From: Uri Shkolnik <urishk@yahoo.com>
The sms_debug module parameter sets the debug filter
for the smsmdtv module. It has been moved to the core
component, and replace the smsdvb's.
Priority: normal
Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r-- | linux/drivers/media/dvb/siano/smscoreapi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h index 83e0e55f7..875cbe6c7 100644 --- a/linux/drivers/media/dvb/siano/smscoreapi.h +++ b/linux/drivers/media/dvb/siano/smscoreapi.h @@ -658,6 +658,7 @@ int smscore_led_state(struct smscore_device_t *core, int led); /* ------------------------------------------------------------------------ */ +extern int sms_debug; #define DBG_INFO 1 #define DBG_ADV 2 @@ -666,7 +667,7 @@ int smscore_led_state(struct smscore_device_t *core, int led); printk(kern "%s: " fmt "\n", __func__, ##arg) #define dprintk(kern, lvl, fmt, arg...) do {\ - if (sms_dbg & lvl) \ + if (sms_debug & lvl) \ sms_printk(kern, fmt, ##arg); } while (0) #define sms_log(fmt, arg...) sms_printk(KERN_INFO, fmt, ##arg) |