summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5761.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tea5761.c')
-rw-r--r--linux/drivers/media/video/tea5761.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tea5761.c b/linux/drivers/media/video/tea5761.c
index 3d021a0c5..5a588ee56 100644
--- a/linux/drivers/media/video/tea5761.c
+++ b/linux/drivers/media/video/tea5761.c
@@ -2,7 +2,7 @@
* For Philips TEA5761 FM Chip
* I2C address is allways 0x20 (0x10 at 7-bit mode).
*
- * $Id: tea5761.c,v 1.3 2005/08/10 17:00:20 mchehab Exp $
+ * $Id: tea5761.c,v 1.4 2006/01/02 22:31:44 hverkuil Exp $
*
* Copyright (c) 2005 Mauro Carvalho Chehab (mchehab@brturbo.com.br)
* This code is placed under the terms of the GNU General Public License
@@ -18,6 +18,9 @@
#define PREFIX "TEA5761 "
+/* from tuner-core.c */
+extern int debug;
+
/*****************************************************************************/
/***************************
@@ -164,7 +167,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq)
buffer[1] = (div >> 8) & 0x3f;
buffer[2] = div & 0xff;
- if (tuner_debug)
+ if (debug)
tea5761_status_dump(buffer);
if (7 != (rc = i2c_master_send(c, buffer, 7)))