summaryrefslogtreecommitdiff
path: root/hw/xfree86/i2c/fi1236.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@mindspring.com>2004-10-03 14:38:31 +0000
committerVladimir Dergachev <volodya@mindspring.com>2004-10-03 14:38:31 +0000
commit4046653cb63f4cd752212e7cf65fad5408d8f5b8 (patch)
treeb98b943523536f13abbb277f5f4cf0b5534567af /hw/xfree86/i2c/fi1236.c
parentebe7b3fe160259b6f19fe760d6ff4f5bb1dd4b72 (diff)
Modified:
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.c Fix compilation with gcc 3.4.x Cleanup xf86DrvMsg noise.
Diffstat (limited to 'hw/xfree86/i2c/fi1236.c')
-rw-r--r--hw/xfree86/i2c/fi1236.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/i2c/fi1236.c b/hw/xfree86/i2c/fi1236.c
index f56716b38..c94633717 100644
--- a/hw/xfree86/i2c/fi1236.c
+++ b/hw/xfree86/i2c/fi1236.c
@@ -111,6 +111,7 @@ I2C_WriteRead(&(f->d), (I2CByte *)data, 4, NULL, 0);
usleep(15000);
}
+static void MT2032_dump_status(FI1236Ptr f);
static void MT2032_init(FI1236Ptr f)
{
@@ -511,7 +512,9 @@ void TUNER_set_frequency(FI1236Ptr f, CARD32 frequency)
int FI1236_AFC(FI1236Ptr f)
{
+ #if 0
xf86DrvMsg(f->d.pI2CBus->scrnIndex, X_INFO, "AFC: f=%p f->count=%d f->original_frequency=%d f->afc_delta=%d\n", f, f->afc_count, f->original_frequency, f->afc_delta);
+ #endif
f->afc_count++;
if(f->type==TUNER_TYPE_MT2032){
f->last_afc_hint=MT2032_get_afc_hint(f);