diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index ba980cf5811b..726e102cbc5d 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -25,12 +25,12 @@ | |||
25 | #include "tda18271.h" | 25 | #include "tda18271.h" |
26 | #include "tda18271-priv.h" | 26 | #include "tda18271-priv.h" |
27 | 27 | ||
28 | static int debug; | 28 | static int tda18271_debug; |
29 | module_param(debug, int, 0644); | 29 | module_param_named(debug, tda18271_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 | ||
32 | #define dprintk(level, fmt, arg...) do {\ | 32 | #define dprintk(level, fmt, arg...) do {\ |
33 | if (debug >= level) \ | 33 | if (tda18271_debug >= level) \ |
34 | printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, ##arg); } while (0) | 34 | printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, ##arg); } while (0) |
35 | 35 | ||
36 | /*---------------------------------------------------------------------*/ | 36 | /*---------------------------------------------------------------------*/ |
@@ -118,7 +118,7 @@ static void tda18271_read_regs(struct dvb_frontend *fe) | |||
118 | printk("ERROR: %s: i2c_transfer returned: %d\n", | 118 | printk("ERROR: %s: i2c_transfer returned: %d\n", |
119 | __FUNCTION__, ret); | 119 | __FUNCTION__, ret); |
120 | 120 | ||
121 | if (debug > 2) | 121 | if (tda18271_debug > 2) |
122 | tda18271_dump_regs(fe); | 122 | tda18271_dump_regs(fe); |
123 | } | 123 | } |
124 | 124 | ||