aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-sibyte.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-sibyte.c')
-rw-r--r--drivers/i2c/algos/i2c-algo-sibyte.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/algos/i2c-algo-sibyte.c b/drivers/i2c/algos/i2c-algo-sibyte.c
index c01108ae7b69..8ed5ad12552f 100644
--- a/drivers/i2c/algos/i2c-algo-sibyte.c
+++ b/drivers/i2c/algos/i2c-algo-sibyte.c
@@ -149,8 +149,6 @@ int i2c_sibyte_add_bus(struct i2c_adapter *i2c_adap, int speed)
149 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; 149 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data;
150 150
151 /* register new adapter to i2c module... */ 151 /* register new adapter to i2c module... */
152
153 i2c_adap->id |= I2C_ALGO_SIBYTE;
154 i2c_adap->algo = &i2c_sibyte_algo; 152 i2c_adap->algo = &i2c_sibyte_algo;
155 153
156 /* Set the frequency to 100 kHz */ 154 /* Set the frequency to 100 kHz */