Re: [PATCH] Fix videodev for bttv changes

From: John Cavan (john.cavan@sympatico.ca)
Date: Mon Jun 05 2000 - 06:13:47 EST


I didn't try it in module form, I always compile it in. When compiled
in, the problem goes away with this patch. There is also, apparently, a
problem with the msp3400 module, but I didn't encounter it (I don't have
a card with the chip).

John

Guus Sliepen wrote:
>
> On Sun, 4 Jun 2000, John Cavan wrote:
>
> > Hi, this is the change I made to allow bttv to compile and properly
> > change channels. In module form, the drivers compile, but channels could
> > not be changed. When directly compiled into the kernel an error on
> > i2c_tuner_init not being defined was thrown. This patch, if I'm correct,
> > should fix the problem:
>
> I've tried your patch on test1-ac8, but it doesn't make a difference for
> the modules. Channels still can't be changed.
>
> Met vriendelijke groet,
> Guus Sliepen.
>
> > --- linux/drivers/char/videodev.c.old Sun Jun 4 23:09:53 2000
> > +++ linux/drivers/char/videodev.c Sun Jun 4 23:10:18 2000
> > @@ -63,7 +63,7 @@
> >
> >
> > #ifdef CONFIG_VIDEO_BT848
> > -extern int i2c_tuner_init(struct video_init *);
> > +extern int tuner_init_module(struct video_init *);
> > #endif
> > #ifdef CONFIG_VIDEO_BWQCAM
> > extern int init_bw_qcams(struct video_init *);
> > @@ -80,7 +80,7 @@
> >
> > static struct video_init video_init_list[]={
> > #ifdef CONFIG_VIDEO_BT848
> > - {"i2c-tuner", i2c_tuner_init},
> > + {"i2c-tuner", tuner_init_module},
> > #endif
> > #ifdef CONFIG_VIDEO_BWQCAM
> > {"bw-qcam", init_bw_qcams},
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-- 
*********************************

Tell me and I may forget, Show me and I may remember, Involve me and I will understand.

*********************************

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:21 EST