linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] drivers/media/video/tuner.c update
@ 2003-07-17 18:45 Gerd Knorr
  0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2003-07-17 18:45 UTC (permalink / raw)
  To: Linus Torvalds, Kernel List

  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-17 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 18:45 [patch] drivers/media/video/tuner.c update Gerd Knorr

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