git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
Documentation
/
i2c
/
porting-clients
diff --git
a/Documentation/i2c/porting-clients
b/Documentation/i2c/porting-clients
index
886d605
..
18b9ace
100644
(file)
--- 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
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:
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.
return 0;
ISA-only drivers of course don't need this.