diff options
author | Greg Kroah-Hartman <greg@kroah.com> | 2004-05-14 01:21:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-05-14 01:21:10 -0700 |
commit | 744804bcdeaef29a736421bd0f2b0eddcfa9f879 (patch) | |
tree | e4bf9bc7b7ec548852fc2e57975fb00e1ebd9ae6 /Documentation | |
parent | 141baf80514374935d084c12f2f1e426e9cea5a0 (diff) | |
parent | 558fcd724e9016b1af08d796f7e762b7dcc6117a (diff) | |
download | history-744804bcdeaef29a736421bd0f2b0eddcfa9f879.tar.gz |
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/i2c/porting-clients | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/porting-clients b/Documentation/i2c/porting-clients index 886d605ce33d13..18b9acef0def14 100644 --- a/Documentation/i2c/porting-clients +++ b/Documentation/i2c/porting-clients @@ -62,9 +62,9 @@ Technical changes: patch to the Documentation/i2c/sysfs-interface file. * [Attach] For I2C drivers, the attach function should make sure - that the adapter's class has I2C_ADAP_CLASS_SMBUS, using the + that the adapter's class has I2C_CLASS_HWMON, using the following construct: - if (!(adapter->class & I2C_ADAP_CLASS_SMBUS)) + if (!(adapter->class & I2C_CLASS_HWMON)) return 0; ISA-only drivers of course don't need this. |