aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tea5767.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-01-11 16:01:01 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-11 17:26:13 -0500
commitf9195ded25a4e8fba09c67aa24b42cd98a242d7d (patch)
tree61b4abb19b4ce4dc734b4a79fa90df241664b6f5 /drivers/media/video/tea5767.c
parentf167cb4e6ee07914b66eb85fc0bf006a409b6838 (diff)
V4L/DVB (3347): Fixes some bad global variables
- Debug global var is already used inside kernel, so renamed debug to tuner_debug for the tuner module Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tea5767.c')
-rw-r--r--drivers/media/video/tea5767.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tea5767.c b/drivers/media/video/tea5767.c
index 261b7a3c0417..921fe72f23d5 100644
--- a/drivers/media/video/tea5767.c
+++ b/drivers/media/video/tea5767.c
@@ -18,7 +18,7 @@
18#define PREFIX "TEA5767 " 18#define PREFIX "TEA5767 "
19 19
20/* from tuner-core.c */ 20/* from tuner-core.c */
21extern int debug; 21extern int tuner_debug;
22 22
23/*****************************************************************************/ 23/*****************************************************************************/
24 24
@@ -249,7 +249,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq)
249 if (5 != (rc = i2c_master_send(c, buffer, 5))) 249 if (5 != (rc = i2c_master_send(c, buffer, 5)))
250 tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); 250 tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc);
251 251
252 if (debug) { 252 if (tuner_debug) {
253 if (5 != (rc = i2c_master_recv(c, buffer, 5))) 253 if (5 != (rc = i2c_master_recv(c, buffer, 5)))
254 tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); 254 tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc);
255 else 255 else