Re: [PATCH] Fix videodev for bttv changes

From: Guus Sliepen (guus@warande3094.warande.uu.nl)
Date: Mon Jun 05 2000 - 03:54:42 EST


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/



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