Skip to contentSkip to conversation

drivers/media/video/tuner.c update

PATCH New Gerd Knorr 1 participant 1 message Jul 17, 2003 Media (V4L/DVB)

lore
Share & tools
lore

Gerd Knorr

author
#0 lore raw

PATCH 1/1 drivers/media/video/tuner.c update

Hi,

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

Gerd

drivers/media/video/tuner.c +5 -5
diff -u linux-2.6.0-test1/drivers/media/video/tuner.c linux/drivers/media/video/tuner.c
@@ -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)
include/media/tuner.h +1 -2
diff -u linux-2.6.0-test1/include/media/tuner.h linux/include/media/tuner.h
@@ -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 */
Signature · 1 line
sigfault