Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / i2c / algos / i2c-algo-ite.c
index 70d8eef..2db7bfc 100644 (file)
@@ -742,8 +742,10 @@ int i2c_iic_add_bus(struct i2c_adapter *adap)
        adap->retries = 3;              /* be replaced by defines       */
        adap->flags = 0;
 
+       i2c_add_adapter(adap);
        iic_init(iic_adap);
-       return i2c_add_adapter(adap);
+
+       return 0;
 }