patch-2.1.110 linux/drivers/char/i2c.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/hfmodem/refclock.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jul 19 20:45:45 1998
- Orig file:
v2.1.109/linux/drivers/char/i2c.c
- Orig date:
Wed Apr 8 19:36:26 1998
diff -u --recursive --new-file v2.1.109/linux/drivers/char/i2c.c linux/drivers/char/i2c.c
@@ -5,6 +5,7 @@
*
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
@@ -34,11 +35,18 @@
static struct i2c_driver *drivers[I2C_DRIVER_MAX];
static int bus_count = 0, driver_count = 0;
+extern int i2c_tuner_init(void);
+extern int msp3400c_init(void);
+
int i2c_init(void)
{
printk(KERN_INFO "i2c: initialized%s\n",
scan ? " (i2c bus scan enabled)" : "");
/* anything to do here ? */
+#ifdef CONFIG_VIDEO_BT848
+ i2c_tuner_init();
+ msp3400c_init();
+#endif
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov