diff options
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-sgi.c')
-rw-r--r-- | drivers/i2c/algos/i2c-algo-sgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-sgi.c b/drivers/i2c/algos/i2c-algo-sgi.c index 55284c9e41dc..8863a671d977 100644 --- a/drivers/i2c/algos/i2c-algo-sgi.c +++ b/drivers/i2c/algos/i2c-algo-sgi.c | |||
@@ -168,7 +168,7 @@ static struct i2c_algorithm sgi_algo = { | |||
168 | */ | 168 | */ |
169 | int i2c_sgi_add_bus(struct i2c_adapter *adap) | 169 | int i2c_sgi_add_bus(struct i2c_adapter *adap) |
170 | { | 170 | { |
171 | adap->id |= sgi_algo.id; | 171 | adap->id |= I2C_ALGO_SGI; |
172 | adap->algo = &sgi_algo; | 172 | adap->algo = &sgi_algo; |
173 | 173 | ||
174 | return i2c_add_adapter(adap); | 174 | return i2c_add_adapter(adap); |