From 9a57596ab92a5a0cdf8d1f205383da9b84aaf555 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 2 Jan 2006 22:31:44 +0000 Subject: 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 --- linux/drivers/media/video/tea5767.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video/tea5767.c') diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c index a32f8dfe0..9d3320fea 100644 --- a/linux/drivers/media/video/tea5767.c +++ b/linux/drivers/media/video/tea5767.c @@ -2,7 +2,7 @@ * For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview * I2C address is allways 0xC0. * - * $Id: tea5767.c,v 1.33 2005/12/28 14:56:39 hverkuil Exp $ + * $Id: tea5767.c,v 1.34 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 @@ -22,6 +22,9 @@ #define PREFIX "TEA5767 " +/* from tuner-core.c */ +extern int debug; + /*****************************************************************************/ /****************************** @@ -251,7 +254,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq) if (5 != (rc = i2c_master_send(c, buffer, 5))) tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); - if (tuner_debug) { + if (debug) { if (5 != (rc = i2c_master_recv(c, buffer, 5))) tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc); else -- cgit v1.2.3