summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5761.c
diff options
context:
space:
mode:
authorHans Verkuil <devnull@localhost>2006-01-02 22:31:44 +0000
committerHans Verkuil <devnull@localhost>2006-01-02 22:31:44 +0000
commit9a57596ab92a5a0cdf8d1f205383da9b84aaf555 (patch)
tree05581625c203f45a06fb18125bd22a6b5d652d20 /linux/drivers/media/video/tea5761.c
parent799ff13cd8717f515448778273a21144725c9443 (diff)
downloadmediapointer-dvb-s2-9a57596ab92a5a0cdf8d1f205383da9b84aaf555.tar.gz
mediapointer-dvb-s2-9a57596ab92a5a0cdf8d1f205383da9b84aaf555.tar.bz2
convert diagnostics over to the new v4l2-common.h macros.
- convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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)))