diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:39:55 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:39:55 -0400 |
commit | c324b44c34050cf2a9b58830e11c974806bd85d8 (patch) | |
tree | 3ac45a783221283925cd698334a8f5e7dd4c1df8 /drivers/i2c/busses/scx200_acb.c | |
parent | 2fcf522509cceea524b6e7ece8fd6759b682175a (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'drivers/i2c/busses/scx200_acb.c')
-rw-r--r-- | drivers/i2c/busses/scx200_acb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index a18bdd9aa7ba..a1d580e05361 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -395,8 +395,6 @@ static u32 scx200_acb_func(struct i2c_adapter *adapter) | |||
395 | 395 | ||
396 | /* For now, we only handle combined mode (smbus) */ | 396 | /* For now, we only handle combined mode (smbus) */ |
397 | static struct i2c_algorithm scx200_acb_algorithm = { | 397 | static struct i2c_algorithm scx200_acb_algorithm = { |
398 | .name = "NatSemi SCx200 ACCESS.bus", | ||
399 | .id = I2C_ALGO_SMBUS, | ||
400 | .smbus_xfer = scx200_acb_smbus_xfer, | 398 | .smbus_xfer = scx200_acb_smbus_xfer, |
401 | .functionality = scx200_acb_func, | 399 | .functionality = scx200_acb_func, |
402 | }; | 400 | }; |
@@ -456,7 +454,7 @@ static int __init scx200_acb_create(int base, int index) | |||
456 | i2c_set_adapdata(adapter, iface); | 454 | i2c_set_adapdata(adapter, iface); |
457 | snprintf(adapter->name, I2C_NAME_SIZE, "SCx200 ACB%d", index); | 455 | snprintf(adapter->name, I2C_NAME_SIZE, "SCx200 ACB%d", index); |
458 | adapter->owner = THIS_MODULE; | 456 | adapter->owner = THIS_MODULE; |
459 | adapter->id = I2C_ALGO_SMBUS; | 457 | adapter->id = I2C_HW_SMBUS_SCX200; |
460 | adapter->algo = &scx200_acb_algorithm; | 458 | adapter->algo = &scx200_acb_algorithm; |
461 | adapter->class = I2C_CLASS_HWMON; | 459 | adapter->class = I2C_CLASS_HWMON; |
462 | 460 | ||