aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-11-23 18:14:53 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:03:00 -0200
commit54465b082cc86921aa7d7b638d75803e6d919f25 (patch)
tree758ecf89a4a922f55ade1553b6ae6e5c1d18a1c4 /drivers
parent6ca04de36b05aaf2f8122d0e566940969c6df801 (diff)
V4L/DVB (6681): tda18271: rename 'debug' to 'tda18271_debug'
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/tda18271-fe.c8
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 ba980cf5811..726e102cbc5 100644
--- a/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/drivers/media/dvb/frontends/tda18271-fe.c
@@ -25,12 +25,12 @@
#include "tda18271.h"
#include "tda18271-priv.h"
-static int debug;
-module_param(debug, int, 0644);
+static int tda18271_debug;
+module_param_named(debug, tda18271_debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
#define dprintk(level, fmt, arg...) do {\
- if (debug >= level) \
+ if (tda18271_debug >= level) \
printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, ##arg); } while (0)
/*---------------------------------------------------------------------*/
@@ -118,7 +118,7 @@ static void tda18271_read_regs(struct dvb_frontend *fe)
printk("ERROR: %s: i2c_transfer returned: %d\n",
__FUNCTION__, ret);
- if (debug > 2)
+ if (tda18271_debug > 2)
tda18271_dump_regs(fe);
}