PATCH: i2c_tuner_init/msp3400c_init link problem in ac17

From: almesber@lrc.di.epfl.ch
Date: Tue Jun 13 2000 - 06:10:22 EST


This is the same patch I've sent for ac10 about a week ago. Still
needed to get the kernel to link with BTTV in a configuration which
doesn't use any modules at all.

- Werner

---------------------------------- cut here -----------------------------------

--- orig/drivers/char/i2c-old.c Thu Dec 16 22:59:38 1999
+++ linux/drivers/char/i2c-old.c Wed Jun 7 14:52:35 2000
@@ -37,8 +37,8 @@
 static int bus_count = 0, driver_count = 0;
 
 #ifdef CONFIG_VIDEO_BT848
-extern int i2c_tuner_init(void);
-extern int msp3400c_init(void);
+extern int tuner_init_module(void);
+extern int msp3400_init_module(void);
 #endif
 #ifdef CONFIG_VIDEO_BUZ
 extern int saa7111_init(void);
@@ -55,8 +55,8 @@
                 scan ? " (i2c bus scan enabled)" : "");
         /* anything to do here ? */
 #ifdef CONFIG_VIDEO_BT848
- i2c_tuner_init();
- msp3400c_init();
+ tuner_init_module();
+ msp3400_init_module();
 #endif
 #ifdef CONFIG_VIDEO_BUZ
         saa7111_init();

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- 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 : Thu Jun 15 2000 - 21:00:28 EST