[PATCH] Fix videodev for bttv changes

From: John Cavan (john.cavan@sympatico.ca)
Date: Sun Jun 04 2000 - 22:23:58 EST


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:

--- 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