Re: cx22702.c, 2.6.13-rc3 and a pci Hauppauge Nova-T DVB-T TV card

From: Patrick Boettcher
Date: Fri Jul 15 2005 - 08:04:21 EST


On Fri, 15 Jul 2005, Andrew Benton wrote:
Hi, I tried the patch but unfortunately the kernel didn't compile, it ended like this

CC drivers/media/video/cx88/cx88-blackbird.o
CC drivers/media/video/cx88/cx88-dvb.o
drivers/media/video/cx88/cx88-dvb.c:169: error: unknown field `output_mode' specified in initializer
drivers/media/video/cx88/cx88-dvb.c:176: error: unknown field `output_mode' specified in initializer

Yes, I was in a hurry *slap* and made a mistake.

This one is correct (revert the other one):

Index: cx88-dvb.c
===================================================================
RCS file: /cvs/video4linux/video4linux/cx88-dvb.c,v
retrieving revision 1.42
diff -u -3 -p -r1.42 cx88-dvb.c
--- cx88-dvb.c 12 Jul 2005 15:44:55 -0000 1.42
+++ cx88-dvb.c 15 Jul 2005 11:33:48 -0000
@@ -180,12 +180,14 @@ static struct mt352_config dntv_live_dvb
#if CONFIG_DVB_CX22702
static struct cx22702_config connexant_refboard_config = {
.demod_address = 0x43,
+ .output_mode = CX22702_SERIAL_OUTPUT,
.pll_address = 0x60,
.pll_desc = &dvb_pll_thomson_dtt7579,
};

static struct cx22702_config hauppauge_novat_config = {
.demod_address = 0x43,
+ .output_mode = CX22702_SERIAL_OUTPUT,
.pll_address = 0x61,
.pll_desc = &dvb_pll_thomson_dtt759x,
};


Sorry,
Patrick.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/