lkml.org 
[lkml]   [2005]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6.13 PATCH 3/4] 03-lgdt3302-suppress-compile-warning.patch
Michael Krufky wrote:

> This patch series spans both video4linux and linux-dvb trees.
> Remove the dvb_pll_desc from the lgdt3302 frontend and replace with a
> pll_set-callback to isolate the tuner programming from the frontend.
>
> Select the RF input connector based upon the type of demodulation
> selected. ANT RF connector is selected for 8-VSB and CABLE RF
> connector is selected for QAM64/QAM256. Implement this along the lines
> posted to linux-dvb list (subscribers only) by Patrick Boettcher. (
> http://linuxtv.org/pipermail/linux-dvb/2005-July/003557.html ) This
> only affects the cards that use the Microtune 4042 tuner. This is not
> ideal, but there is no current specification for selecting RF inputs.
> It makes the card work the same way as the Windows driver thus it may
> reduce user confusion.
>


Suppress the following during compile:
warning: `i2c_readbytes' defined but not used
This code will either be re-enabled or deleted in a future patch.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>

lgdt3302.c | 2 ++
1 files changed, 2 insertions(+)

diff -u linux-2.6.13/drivers/media/dvb/frontends/lgdt3302.c linux/drivers/media/dvb/frontends/lgdt3302.c
--- linux-2.6.13/drivers/media/dvb/frontends/lgdt3302.c 2005-07-20 22:53:42.000000000 +0000
+++ linux/drivers/media/dvb/frontends/lgdt3302.c 2005-07-20 23:01:58.000000000 +0000
@@ -94,6 +94,7 @@
return 0;
}

+#if 0
static int i2c_readbytes (struct lgdt3302_state* state,
u8 addr, /* demod_address or pll_address */
u8 *buf, /* holds data bytes read */
@@ -109,6 +110,7 @@
}
return 0;
}
+#endif

/*
* This routine writes the register (reg) to the demod bus
\
 
 \ /
  Last update: 2005-07-21 06:30    [W:0.051 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site