patch-2.4.0-test5 linux/Documentation/i2c/writing-clients

Next file: linux/Documentation/i386/boot.txt
Previous file: linux/Documentation/fb/00-INDEX
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/Documentation/i2c/writing-clients linux/Documentation/i2c/writing-clients
@@ -395,7 +395,7 @@
     /* Let's see whether this adapter can support what we need.
        Please substitute the things you need here! 
        For `sensors' drivers, add `! is_isa &&' to the if statement */
-    if (i2c_check_functionality(adapter,I2C_FUNC_SMBUS_WORD_DATA |
+    if (!i2c_check_functionality(adapter,I2C_FUNC_SMBUS_WORD_DATA |
                                         I2C_FUNC_SMBUS_WRITE_BYTE))
        goto ERROR0;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)