linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Linus Torvalds <torvalds@transmeta.com>,
	Kernel List <linux-kernel@vger.kernel.org>
Subject: [patch] drivers/media/video/tuner.c update
Date: Thu, 17 Jul 2003 20:45:17 +0200	[thread overview]
Message-ID: <20030717184517.GA22196@bytesex.org> (raw)

  Hi,

This patch adds support for one more tv tuner chip to the
tuner module.

  Gerd

diff -u linux-2.6.0-test1/drivers/media/video/tuner.c linux/drivers/media/video/tuner.c
--- linux-2.6.0-test1/drivers/media/video/tuner.c	2003-07-17 18:56:49.855733482 +0200
+++ linux/drivers/media/video/tuner.c	2003-07-17 19:13:34.490310872 +0200
@@ -225,6 +225,8 @@
 
 	{ "HITACHI V7-J180AT", HITACHI, NTSC,
 	  16*170.00, 16*450.00, 0x01,0x02,0x00,0x8e,940 },
+	{ "Philips PAL_MK (FI1216 MK)", Philips, PAL,
+	  16*140.25,16*463.25,0x01,0xc2,0xcf,0x8e,623},
 };
 #define TUNERS ARRAY_SIZE(tuners)
 
@@ -960,11 +962,9 @@
 };
 static struct i2c_client client_template =
 {
-	.flags  = I2C_CLIENT_ALLOW_USE,
-	.driver = &driver,
-	.dev  = {
-		.name   = "(tuner unset)",
-	},
+	I2C_DEVNAME("(tuner unset)"),
+	.flags      = I2C_CLIENT_ALLOW_USE,
+        .driver     = &driver,
 };
 
 static int tuner_init_module(void)
diff -u linux-2.6.0-test1/include/media/tuner.h linux/include/media/tuner.h
--- linux-2.6.0-test1/include/media/tuner.h	2003-07-17 18:56:42.279032859 +0200
+++ linux/include/media/tuner.h	2003-07-17 19:13:34.494310203 +0200
@@ -65,8 +65,7 @@
 #define TUNER_PHILIPS_FM1216ME_MK3  38
 #define TUNER_LG_NTSC_NEW_TAPC   39
 #define TUNER_HITACHI_NTSC       40
-
-
+#define TUNER_PHILIPS_PAL_MK     41
 
 #define NOTUNER 0
 #define PAL     1	/* PAL_BG */

-- 
sigfault

                 reply	other threads:[~2003-07-17 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030717184517.GA22196@bytesex.org \
    --to=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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;
as well as URLs for NNTP newsgroup(s).