diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2007-02-13 22:09:01 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-13 22:09:01 +0100 |
commit | 9ace555d7d87c55ceab6999be444c9a17e0e79b4 (patch) | |
tree | 0f2a38fe4890c7ef06d9bc72a7989560b1bd013d /drivers/i2c/busses/i2c-i801.c | |
parent | a394ae15427f215b43fca21f3c9370b0e63ba252 (diff) | |
download | kernel_samsung_espresso10-9ace555d7d87c55ceab6999be444c9a17e0e79b4.zip kernel_samsung_espresso10-9ace555d7d87c55ceab6999be444c9a17e0e79b4.tar.gz kernel_samsung_espresso10-9ace555d7d87c55ceab6999be444c9a17e0e79b4.tar.bz2 |
i2c: Add IDs to adapters
IDs have been defined but not used by most of the I2C adapters.
By having a unique ID, clients can check for correct connection
during probe.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index de5e23a..8c3569a 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -442,6 +442,7 @@ static const struct i2c_algorithm smbus_algorithm = { static struct i2c_adapter i801_adapter = { .owner = THIS_MODULE, + .id = I2C_HW_SMBUS_I801, .class = I2C_CLASS_HWMON, .algo = &smbus_algorithm, }; |