patch-2.4.22 linux-2.4.22/drivers/i2c/i2c-core.c

Next file: linux-2.4.22/drivers/i2c/i2c-dev.c
Previous file: linux-2.4.22/drivers/i2c/i2c-algo-sibyte.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/i2c/i2c-core.c linux-2.4.22/drivers/i2c/i2c-core.c
@@ -1264,7 +1264,7 @@
 
 static int __init i2c_init(void)
 {
-	printk("i2c-core.o: i2c core module\n");
+	printk(KERN_INFO "i2c-core.o: i2c core module\n");
 	memset(adapters,0,sizeof(adapters));
 	memset(drivers,0,sizeof(drivers));
 	adap_count=0;
@@ -1311,6 +1311,15 @@
 #ifdef CONFIG_I2C_RPXLITE
 	extern int i2c_rpx_init(void);
 #endif
+
+#ifdef CONFIG_I2C_ALGO_SIBYTE
+	extern int i2c_algo_sibyte_init(void);
+	extern int i2c_sibyte_init(void);
+#endif
+#ifdef CONFIG_I2C_MAX1617
+	extern int i2c_max1617_init(void);
+#endif
+
 #ifdef CONFIG_I2C_PROC
 	extern int sensors_init(void);
 #endif
@@ -1356,6 +1365,15 @@
 	i2c_rpx_init();
 #endif
 
+	/* --------------------- SiByte -------- */
+#ifdef CONFIG_I2C_ALGO_SIBYTE
+	i2c_algo_sibyte_init();
+	i2c_sibyte_init();
+#endif
+#ifdef CONFIG_I2C_MAX1617
+	i2c_max1617_init();
+#endif
+
 	/* -------------- proc interface ---- */
 #ifdef CONFIG_I2C_PROC
 	sensors_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)