diff options
| author | Jean Delvare <[email protected]> | 2005-08-11 21:38:52 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2005-09-05 16:14:29 +0000 |
| commit | 87c3d7a8bc0ff5c8d4481e509b407b6be1859925 (patch) | |
| tree | 73fadb7bdd87a054cf3131b541af4216ba545755 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | [PATCH] I2C: Kill i2c_algorithm.id (2/7) (diff) | |
| download | kernel-87c3d7a8bc0ff5c8d4481e509b407b6be1859925.tar.gz kernel-87c3d7a8bc0ff5c8d4481e509b407b6be1859925.zip | |
[PATCH] I2C: Kill i2c_algorithm.id (3/7)
Don't rely on i2c_algorithm.id to alter the i2c adapter's id, use the
I2C_ALGO_* value directly instead, because i2c_algorithm will soon
have no id member no more.
Signed-off-by: Jean Delvare <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
| -rw-r--r-- | drivers/i2c/algos/i2c-algo-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c index 6e1e1601accb..b8767382bbac 100644 --- a/drivers/i2c/algos/i2c-algo-bit.c +++ b/drivers/i2c/algos/i2c-algo-bit.c @@ -541,7 +541,7 @@ int i2c_bit_add_bus(struct i2c_adapter *adap) /* register new adapter to i2c module... */ - adap->id |= i2c_bit_algo.id; + adap->id |= I2C_ALGO_BIT; adap->algo = &i2c_bit_algo; adap->timeout = 100; /* default values, should */ |
