test1-ac10 and bttv

From: John Cavan (john.cavan@sympatico.ca)
Date: Tue Jun 06 2000 - 18:24:25 EST


The bttv driver in -ac10 is still broken in non-module compiles. The
patch to tuner.h fixes issues only in module form. Here's the patch
again... If this is wrong, please tell me why, I'm still learning my way
around the kernel code, thanks. :o)

John

--- linux.ac10/drivers/char/videodev.c Wed May 24 11:29:47 2000
+++ linux/drivers/char/videodev.c Tue Jun 6 18:27:54 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:26 EST