i2c: Make clear what the class field of i2c_adapter is good for
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 22 Oct 2008 18:21:30 +0000 (20:21 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 22 Oct 2008 18:21:30 +0000 (20:21 +0200)
Make clear what the class field of i2c_adapter is good for.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
include/linux/i2c.h

index 06115128047f24274002b87345af680314e8e3a8..4ac8ec3c792737d96513e97a1da624e0c5d6deaf 100644 (file)
@@ -345,7 +345,7 @@ struct i2c_algorithm {
 struct i2c_adapter {
        struct module *owner;
        unsigned int id;
-       unsigned int class;
+       unsigned int class;               /* classes to allow probing for */
        const struct i2c_algorithm *algo; /* the algorithm to access the bus */
        void *algo_data;