diff options
Diffstat (limited to 'drivers/media/video/mt20xx.c')
-rw-r--r-- | drivers/media/video/mt20xx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/video/mt20xx.c index 2c19c9588c02..0bf1caac5887 100644 --- a/drivers/media/video/mt20xx.c +++ b/drivers/media/video/mt20xx.c | |||
@@ -21,7 +21,7 @@ static unsigned int radio_antenna = 0; | |||
21 | module_param(radio_antenna, int, 0644); | 21 | module_param(radio_antenna, int, 0644); |
22 | 22 | ||
23 | /* from tuner-core.c */ | 23 | /* from tuner-core.c */ |
24 | extern int debug; | 24 | extern int tuner_debug; |
25 | 25 | ||
26 | /* ---------------------------------------------------------------------- */ | 26 | /* ---------------------------------------------------------------------- */ |
27 | 27 | ||
@@ -404,7 +404,7 @@ static void mt2050_set_if_freq(struct i2c_client *c,unsigned int freq, unsigned | |||
404 | div2a=(lo2/8)-1; | 404 | div2a=(lo2/8)-1; |
405 | div2b=lo2-(div2a+1)*8; | 405 | div2b=lo2-(div2a+1)*8; |
406 | 406 | ||
407 | if (debug > 1) { | 407 | if (tuner_debug > 1) { |
408 | tuner_dbg("lo1 lo2 = %d %d\n", lo1, lo2); | 408 | tuner_dbg("lo1 lo2 = %d %d\n", lo1, lo2); |
409 | tuner_dbg("num1 num2 div1a div1b div2a div2b= %x %x %x %x %x %x\n", | 409 | tuner_dbg("num1 num2 div1a div1b div2a div2b= %x %x %x %x %x %x\n", |
410 | num1,num2,div1a,div1b,div2a,div2b); | 410 | num1,num2,div1a,div1b,div2a,div2b); |
@@ -420,7 +420,7 @@ static void mt2050_set_if_freq(struct i2c_client *c,unsigned int freq, unsigned | |||
420 | buf[5]=div2a; | 420 | buf[5]=div2a; |
421 | if(num2!=0) buf[5]=buf[5]|0x40; | 421 | if(num2!=0) buf[5]=buf[5]|0x40; |
422 | 422 | ||
423 | if (debug > 1) { | 423 | if (tuner_debug > 1) { |
424 | int i; | 424 | int i; |
425 | tuner_dbg("bufs is: "); | 425 | tuner_dbg("bufs is: "); |
426 | for(i=0;i<6;i++) | 426 | for(i=0;i<6;i++) |
@@ -508,7 +508,7 @@ int microtune_init(struct i2c_client *c) | |||
508 | 508 | ||
509 | i2c_master_send(c,buf,1); | 509 | i2c_master_send(c,buf,1); |
510 | i2c_master_recv(c,buf,21); | 510 | i2c_master_recv(c,buf,21); |
511 | if (debug) { | 511 | if (tuner_debug) { |
512 | int i; | 512 | int i; |
513 | tuner_dbg("MT20xx hexdump:"); | 513 | tuner_dbg("MT20xx hexdump:"); |
514 | for(i=0;i<21;i++) { | 514 | for(i=0;i<21;i++) { |