aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-ali1563.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2007-02-13 16:09:01 -0500
committerJean Delvare <khali@arrakis.delvare>2007-02-13 16:09:01 -0500
commit9ace555d7d87c55ceab6999be444c9a17e0e79b4 (patch)
tree0f2a38fe4890c7ef06d9bc72a7989560b1bd013d /drivers/i2c/busses/i2c-ali1563.c
parenta394ae15427f215b43fca21f3c9370b0e63ba252 (diff)
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-ali1563.c')
-rw-r--r--drivers/i2c/busses/i2c-ali1563.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c
index 55ebbef41e97..6b68074e518a 100644
--- a/drivers/i2c/busses/i2c-ali1563.c
+++ b/drivers/i2c/busses/i2c-ali1563.c
@@ -370,6 +370,7 @@ static const struct i2c_algorithm ali1563_algorithm = {
370 370
371static struct i2c_adapter ali1563_adapter = { 371static struct i2c_adapter ali1563_adapter = {
372 .owner = THIS_MODULE, 372 .owner = THIS_MODULE,
373 .id = I2C_HW_SMBUS_ALI1563,
373 .class = I2C_CLASS_HWMON, 374 .class = I2C_CLASS_HWMON,
374 .algo = &ali1563_algorithm, 375 .algo = &ali1563_algorithm,
375}; 376};