public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Krufky <mkrufky@m1k.net>
To: Andrew Morton <akpm@osdl.org>
Cc: mkrufky@m1k.net, linux-dvb-maintainer@linuxtv.org,
	Mauro Carvalho Chehab <mchehab@brturbo.com.br>,
	Mac Michaels <wmichaels1@earthlink.net>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux and Kernel Video <video4linux-list@redhat.com>
Subject: [2.6.13 PATCH 3/4] 03-lgdt3302-suppress-compile-warning.patch
Date: Thu, 21 Jul 2005 00:23:06 -0400	[thread overview]
Message-ID: <42DF232A.9090805@m1k.net> (raw)
In-Reply-To: <42DF2196.5040503@m1k.net>

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

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.
>



[-- Attachment #2: 03-lgdt3302-suppress-compile-warning.patch --]
[-- Type: text/plain, Size: 845 bytes --]

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

  parent reply	other threads:[~2005-07-21  4:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21  4:16 [2.6.13 PATCH 0/4] Michael Krufky
2005-07-21  4:20 ` [2.6.13 PATCH 1/4] 01-lgdt3302-isolate-tuner.patch Michael Krufky
2005-07-21  4:21 ` [2.6.13 PATCH 2/4] 02-lgdt3302-rf-input.patch Michael Krufky
2005-07-21  4:23 ` Michael Krufky [this message]
2005-07-21  4:23 ` [2.6.13 PATCH 4/4] 04-cx88-dvb-cleanup.patch Michael Krufky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42DF232A.9090805@m1k.net \
    --to=mkrufky@m1k.net \
    --cc=akpm@osdl.org \
    --cc=linux-dvb-maintainer@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@brturbo.com.br \
    --cc=video4linux-list@redhat.com \
    --cc=wmichaels1@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox