BTTV Bug in videodev.c

From: john.cavan@sympatico.ca
Date: Mon Jul 10 2000 - 22:56:19 EST


This one nibbles again... patches to get bt848 to compile, I don't know
of this is the right format, so please correct me if I should send it
differently.

Thanks,
John

--- drivers/char/videodev.c.old Mon Jul 10 23:40:44 2000
+++ drivers/char/videodev.c Mon Jul 10 23:41:50 2000
@@ -62,7 +62,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 *);
@@ -79,7 +79,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},

--- drivers/char/i2c-old.c.old Mon Jul 10 23:49:17 2000
+++ drivers/char/i2c-old.c Mon Jul 10 23:47:59 2000
@@ -37,7 +37,7 @@
 static int bus_count = 0, driver_count = 0;

 #ifdef CONFIG_VIDEO_BT848
-extern int i2c_tuner_init(void);
+extern int tuner_init_module(void);
 extern int msp3400c_init(void);
 #endif
 #ifdef CONFIG_VIDEO_BUZ
@@ -55,7 +55,7 @@
        scan ? " (i2c bus scan enabled)" : "");
    /* anything to do here ? */
 #ifdef CONFIG_VIDEO_BT848
- i2c_tuner_init();
+ tuner_init_module();
    msp3400c_init();
 #endif
 #ifdef CONFIG_VIDEO_BUZ

-
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 : Sat Jul 15 2000 - 21:00:12 EST