Re: 2.6.11-mm2 vs audio for kino and tvtime

From: Gene Heskett
Date: Wed Mar 09 2005 - 19:57:25 EST

On Wednesday 09 March 2005 14:33, Jean Delvare wrote:
>Hi Gene, Andrew, all,
>[Gene Heskett]
>> /usr/pcHDTV3000/linux/pcHDTV-1.6/kernel-2.6.x/driver/bttv-i2c.c:36
>>2: error: unknown field `id' specified in initializer
>I've dropped the "id" member of struct i2c_client, as it were
> useless. Third-party driver authors now need to do the same.
>Patches to pcHDTV 1.6 and 2.0 attached (untested). Feel free to push
> the latter to the author of hdPCTV. Note that the removed struct
> member was really not used before, so the driver will still work
> with earlier kernels.

I unpacked and patched the pcHDTV-2.0 driver kit, but the make bails
out with this:

/usr/src/pcHDTV-2.0/cx88-cards.c: In function `hauppauge_eeprom_dvb':
/usr/src/pcHDTV-2.0/cx88-cards.c:772: warning: control reaches end of
non-void function

That one I may be able to fix, probably a braces error.
Then 10 lines or so later:

CC [M] /usr/src/pcHDTV-2.0/saa7134-tvaudio.o
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c: In function
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c:988: warning: implicit
declaration of function `DECLARE_MUTEX_LOCKED'
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c:988: error: `sem' undeclared
(first use in this function)
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c:988: error: (Each undeclared
identifier is reported only once
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c:988: error: for each function it
appears in.)
/usr/src/pcHDTV-2.0/saa7134-tvaudio.c:989: warning: ISO C90 forbids
mixed declarations and code
make[2]: *** [/usr/src/pcHDTV-2.0/saa7134-tvaudio.o] Error 1
make[1]: *** [_module_/usr/src/pcHDTV-2.0] Error 2
make[1]: Leaving directory `/usr/src/linux-'
make: *** [default] Error 2

Header file error?

I'll go try the 1.6 patch now.

Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at