diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-pci.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_net.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx22702.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/lgdt330x.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/nxt6000.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/s5h1409.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/s5h1420.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/sp8870.c | 12 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/tda10086.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/tda826x.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/tda827x.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/ves1x93.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/zl10353.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 |
16 files changed, 21 insertions, 21 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-pci.c b/drivers/media/dvb/b2c2/flexcop-pci.c index 01af4d237eb1..5b30dfc7846b 100644 --- a/drivers/media/dvb/b2c2/flexcop-pci.c +++ b/drivers/media/dvb/b2c2/flexcop-pci.c | |||
@@ -32,7 +32,7 @@ MODULE_PARM_DESC(irq_chk_intv, "set the interval for IRQ watchdog (currently jus | |||
32 | #define deb_irq(args...) dprintk(0x08,args) | 32 | #define deb_irq(args...) dprintk(0x08,args) |
33 | #define deb_chk(args...) dprintk(0x10,args) | 33 | #define deb_chk(args...) dprintk(0x10,args) |
34 | 34 | ||
35 | static int debug = 0; | 35 | static int debug; |
36 | module_param(debug, int, 0644); | 36 | module_param(debug, int, 0644); |
37 | MODULE_PARM_DESC(debug, "set debug level (1=info,2=regs,4=TS,8=irqdma (|-able))." DEBSTATUS); | 37 | MODULE_PARM_DESC(debug, "set debug level (1=info,2=regs,4=TS,8=irqdma (|-able))." DEBSTATUS); |
38 | 38 | ||
diff --git a/drivers/media/dvb/dvb-core/dvb_net.c b/drivers/media/dvb/dvb-core/dvb_net.c index 4c8b62e2c035..efaa297ac34d 100644 --- a/drivers/media/dvb/dvb-core/dvb_net.c +++ b/drivers/media/dvb/dvb-core/dvb_net.c | |||
@@ -354,7 +354,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len ) | |||
354 | #ifdef ULE_DEBUG | 354 | #ifdef ULE_DEBUG |
355 | /* The code inside ULE_DEBUG keeps a history of the last 100 TS cells processed. */ | 355 | /* The code inside ULE_DEBUG keeps a history of the last 100 TS cells processed. */ |
356 | static unsigned char ule_hist[100*TS_SZ]; | 356 | static unsigned char ule_hist[100*TS_SZ]; |
357 | static unsigned char *ule_where = ule_hist, ule_dump = 0; | 357 | static unsigned char *ule_where = ule_hist, ule_dump; |
358 | #endif | 358 | #endif |
359 | 359 | ||
360 | /* For all TS cells in current buffer. | 360 | /* For all TS cells in current buffer. |
diff --git a/drivers/media/dvb/frontends/cx22702.c b/drivers/media/dvb/frontends/cx22702.c index 1dc164d5488c..406c4cfa82bb 100644 --- a/drivers/media/dvb/frontends/cx22702.c +++ b/drivers/media/dvb/frontends/cx22702.c | |||
@@ -48,7 +48,7 @@ struct cx22702_state { | |||
48 | u8 prevUCBlocks; | 48 | u8 prevUCBlocks; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static int debug = 0; | 51 | static int debug; |
52 | #define dprintk if (debug) printk | 52 | #define dprintk if (debug) printk |
53 | 53 | ||
54 | /* Register values to initialise the demod */ | 54 | /* Register values to initialise the demod */ |
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index 8c8d7342d0b3..decf798994e9 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -44,7 +44,7 @@ struct dvb_pll_priv { | |||
44 | 44 | ||
45 | static unsigned int dvb_pll_devcount; | 45 | static unsigned int dvb_pll_devcount; |
46 | 46 | ||
47 | static int debug = 0; | 47 | static int debug; |
48 | module_param(debug, int, 0644); | 48 | module_param(debug, int, 0644); |
49 | MODULE_PARM_DESC(debug, "enable verbose debug messages"); | 49 | MODULE_PARM_DESC(debug, "enable verbose debug messages"); |
50 | 50 | ||
diff --git a/drivers/media/dvb/frontends/lgdt330x.c b/drivers/media/dvb/frontends/lgdt330x.c index bdc9fa88b86a..dc897a3903fc 100644 --- a/drivers/media/dvb/frontends/lgdt330x.c +++ b/drivers/media/dvb/frontends/lgdt330x.c | |||
@@ -49,7 +49,7 @@ | |||
49 | /* Use Equalizer Mean Squared Error instead of Phaser Tracker MSE */ | 49 | /* Use Equalizer Mean Squared Error instead of Phaser Tracker MSE */ |
50 | /* #define USE_EQMSE */ | 50 | /* #define USE_EQMSE */ |
51 | 51 | ||
52 | static int debug = 0; | 52 | static int debug; |
53 | module_param(debug, int, 0644); | 53 | module_param(debug, int, 0644); |
54 | MODULE_PARM_DESC(debug,"Turn on/off lgdt330x frontend debugging (default:off)."); | 54 | MODULE_PARM_DESC(debug,"Turn on/off lgdt330x frontend debugging (default:off)."); |
55 | #define dprintk(args...) \ | 55 | #define dprintk(args...) \ |
diff --git a/drivers/media/dvb/frontends/nxt6000.c b/drivers/media/dvb/frontends/nxt6000.c index d313d7dcf386..0eef22dbf8a0 100644 --- a/drivers/media/dvb/frontends/nxt6000.c +++ b/drivers/media/dvb/frontends/nxt6000.c | |||
@@ -38,7 +38,7 @@ struct nxt6000_state { | |||
38 | struct dvb_frontend frontend; | 38 | struct dvb_frontend frontend; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | static int debug = 0; | 41 | static int debug; |
42 | #define dprintk if (debug) printk | 42 | #define dprintk if (debug) printk |
43 | 43 | ||
44 | static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data) | 44 | static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data) |
diff --git a/drivers/media/dvb/frontends/s5h1409.c b/drivers/media/dvb/frontends/s5h1409.c index 1a4d8319773c..1ca250378664 100644 --- a/drivers/media/dvb/frontends/s5h1409.c +++ b/drivers/media/dvb/frontends/s5h1409.c | |||
@@ -48,7 +48,7 @@ struct s5h1409_state { | |||
48 | u32 qam_state; | 48 | u32 qam_state; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static int debug = 0; | 51 | static int debug; |
52 | #define dprintk if (debug) printk | 52 | #define dprintk if (debug) printk |
53 | 53 | ||
54 | /* Register values to initialise the demod, this will set VSB by default */ | 54 | /* Register values to initialise the demod, this will set VSB by default */ |
diff --git a/drivers/media/dvb/frontends/s5h1420.c b/drivers/media/dvb/frontends/s5h1420.c index 2c2c344c4c64..7c64af91e5ac 100644 --- a/drivers/media/dvb/frontends/s5h1420.c +++ b/drivers/media/dvb/frontends/s5h1420.c | |||
@@ -53,7 +53,7 @@ static int s5h1420_get_tune_settings(struct dvb_frontend* fe, | |||
53 | struct dvb_frontend_tune_settings* fesettings); | 53 | struct dvb_frontend_tune_settings* fesettings); |
54 | 54 | ||
55 | 55 | ||
56 | static int debug = 0; | 56 | static int debug; |
57 | #define dprintk if (debug) printk | 57 | #define dprintk if (debug) printk |
58 | 58 | ||
59 | static int s5h1420_writereg (struct s5h1420_state* state, u8 reg, u8 data) | 59 | static int s5h1420_writereg (struct s5h1420_state* state, u8 reg, u8 data) |
diff --git a/drivers/media/dvb/frontends/sp8870.c b/drivers/media/dvb/frontends/sp8870.c index da876f7bfe32..f5b3bfc00436 100644 --- a/drivers/media/dvb/frontends/sp8870.c +++ b/drivers/media/dvb/frontends/sp8870.c | |||
@@ -449,15 +449,15 @@ static int sp8870_read_uncorrected_blocks (struct dvb_frontend* fe, u32* ublocks | |||
449 | return 0; | 449 | return 0; |
450 | } | 450 | } |
451 | 451 | ||
452 | // number of trials to recover from lockup | 452 | /* number of trials to recover from lockup */ |
453 | #define MAXTRIALS 5 | 453 | #define MAXTRIALS 5 |
454 | // maximum checks for data valid signal | 454 | /* maximum checks for data valid signal */ |
455 | #define MAXCHECKS 100 | 455 | #define MAXCHECKS 100 |
456 | 456 | ||
457 | // only for debugging: counter for detected lockups | 457 | /* only for debugging: counter for detected lockups */ |
458 | static int lockups = 0; | 458 | static int lockups; |
459 | // only for debugging: counter for channel switches | 459 | /* only for debugging: counter for channel switches */ |
460 | static int switches = 0; | 460 | static int switches; |
461 | 461 | ||
462 | static int sp8870_set_frontend (struct dvb_frontend* fe, struct dvb_frontend_parameters *p) | 462 | static int sp8870_set_frontend (struct dvb_frontend* fe, struct dvb_frontend_parameters *p) |
463 | { | 463 | { |
diff --git a/drivers/media/dvb/frontends/tda10086.c b/drivers/media/dvb/frontends/tda10086.c index 0d2b69a99ad4..143af96439b9 100644 --- a/drivers/media/dvb/frontends/tda10086.c +++ b/drivers/media/dvb/frontends/tda10086.c | |||
@@ -43,7 +43,7 @@ struct tda10086_state { | |||
43 | bool has_lock; | 43 | bool has_lock; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | static int debug = 0; | 46 | static int debug; |
47 | #define dprintk(args...) \ | 47 | #define dprintk(args...) \ |
48 | do { \ | 48 | do { \ |
49 | if (debug) printk(KERN_DEBUG "tda10086: " args); \ | 49 | if (debug) printk(KERN_DEBUG "tda10086: " args); \ |
diff --git a/drivers/media/dvb/frontends/tda826x.c b/drivers/media/dvb/frontends/tda826x.c index bd3ebc284835..9a91eb0333d9 100644 --- a/drivers/media/dvb/frontends/tda826x.c +++ b/drivers/media/dvb/frontends/tda826x.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include "tda826x.h" | 27 | #include "tda826x.h" |
28 | 28 | ||
29 | static int debug = 0; | 29 | static int debug; |
30 | #define dprintk(args...) \ | 30 | #define dprintk(args...) \ |
31 | do { \ | 31 | do { \ |
32 | if (debug) printk(KERN_DEBUG "tda826x: " args); \ | 32 | if (debug) printk(KERN_DEBUG "tda826x: " args); \ |
diff --git a/drivers/media/dvb/frontends/tda827x.c b/drivers/media/dvb/frontends/tda827x.c index 229b11987a58..3190c8d0c17c 100644 --- a/drivers/media/dvb/frontends/tda827x.c +++ b/drivers/media/dvb/frontends/tda827x.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "tda827x.h" | 26 | #include "tda827x.h" |
27 | 27 | ||
28 | static int debug = 0; | 28 | static int debug; |
29 | module_param(debug, int, 0644); | 29 | module_param(debug, int, 0644); |
30 | MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off)."); | 30 | MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off)."); |
31 | 31 | ||
diff --git a/drivers/media/dvb/frontends/ves1x93.c b/drivers/media/dvb/frontends/ves1x93.c index 23fd0303c91b..c041c81f9686 100644 --- a/drivers/media/dvb/frontends/ves1x93.c +++ b/drivers/media/dvb/frontends/ves1x93.c | |||
@@ -48,7 +48,7 @@ struct ves1x93_state { | |||
48 | u8 demod_type; | 48 | u8 demod_type; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static int debug = 0; | 51 | static int debug; |
52 | #define dprintk if (debug) printk | 52 | #define dprintk if (debug) printk |
53 | 53 | ||
54 | #define DEMOD_VES1893 0 | 54 | #define DEMOD_VES1893 0 |
diff --git a/drivers/media/dvb/frontends/zl10353.c b/drivers/media/dvb/frontends/zl10353.c index 276e3b631dc2..3d508ff4b292 100644 --- a/drivers/media/dvb/frontends/zl10353.c +++ b/drivers/media/dvb/frontends/zl10353.c | |||
@@ -46,7 +46,7 @@ static int debug; | |||
46 | if (debug) printk(KERN_DEBUG "zl10353: " args); \ | 46 | if (debug) printk(KERN_DEBUG "zl10353: " args); \ |
47 | } while (0) | 47 | } while (0) |
48 | 48 | ||
49 | static int debug_regs = 0; | 49 | static int debug_regs; |
50 | 50 | ||
51 | static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val) | 51 | static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val) |
52 | { | 52 | { |
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 509349211d4f..0f476f75e03d 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -86,7 +86,7 @@ static int rc5_device = -1; | |||
86 | module_param(rc5_device, int, 0644); | 86 | module_param(rc5_device, int, 0644); |
87 | MODULE_PARM_DESC(rc5_device, "only IR commands to given RC5 device (device = 0 - 31, any device = 255, default: autodetect)"); | 87 | MODULE_PARM_DESC(rc5_device, "only IR commands to given RC5 device (device = 0 - 31, any device = 255, default: autodetect)"); |
88 | 88 | ||
89 | static int ir_debug = 0; | 89 | static int ir_debug; |
90 | module_param(ir_debug, int, 0644); | 90 | module_param(ir_debug, int, 0644); |
91 | MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding"); | 91 | MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding"); |
92 | 92 | ||
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 7902ae1d9a18..ab39f9694e74 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -542,7 +542,7 @@ static void ttusb_handle_sec_data(struct ttusb_channel *channel, | |||
542 | const u8 * data, int len); | 542 | const u8 * data, int len); |
543 | #endif | 543 | #endif |
544 | 544 | ||
545 | static int numpkt = 0, numts, numstuff, numsec, numinvalid; | 545 | static int numpkt, numts, numstuff, numsec, numinvalid; |
546 | static unsigned long lastj; | 546 | static unsigned long lastj; |
547 | 547 | ||
548 | static void ttusb_process_muxpack(struct ttusb *ttusb, const u8 * muxpack, | 548 | static void ttusb_process_muxpack(struct ttusb *ttusb, const u8 * muxpack, |