aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2012-10-05 16:23:54 -0400
committerJean Delvare <khali@endymion.delvare>2012-10-05 16:23:54 -0400
commit0ec13867eff2a722c43b2a2cedf11547974e6976 (patch)
treeba3c6ef24339761fa86c5efa8fdbd61234114c37 /include/linux/i2c.h
parentf82b86267a7a7cc2fc9779fa2957467c242395d8 (diff)
i2c: Correct struct i2c_driver doc about detection
s/address_data/address_list/ in addition to c3813d6. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 5970266930a2..94aed0c85bb0 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -144,7 +144,7 @@ extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client,
144 * The driver.owner field should be set to the module owner of this driver. 144 * The driver.owner field should be set to the module owner of this driver.
145 * The driver.name field should be set to the name of this driver. 145 * The driver.name field should be set to the name of this driver.
146 * 146 *
147 * For automatic device detection, both @detect and @address_data must 147 * For automatic device detection, both @detect and @address_list must
148 * be defined. @class should also be set, otherwise only devices forced 148 * be defined. @class should also be set, otherwise only devices forced
149 * with module parameters will be created. The detect function must 149 * with module parameters will be created. The detect function must
150 * fill at least the name field of the i2c_board_info structure it is 150 * fill at least the name field of the i2c_board_info structure it is