diff options
author | Jean Delvare <khali@linux-fr.org> | 2013-05-14 22:44:10 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-05-17 16:49:30 -0400 |
commit | 53229345502bf3713cce220e849743f83065381d (patch) | |
tree | b02af4171a5a6682fbaf62e6468053f997e189e7 /drivers/i2c/busses | |
parent | 5a7e6bd809ca2f06bd669bd477ad3d6b48a3dd9f (diff) |
i2c: i801: Document feature bits in modinfo
Duplicate the feature bits documentation in modinfo, as not every user
will read the driver's source code or documentation file.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index e1cf2e0e1f23..3a6903f63913 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -231,7 +231,11 @@ static const char *i801_feature_names[] = { | |||
231 | 231 | ||
232 | static unsigned int disable_features; | 232 | static unsigned int disable_features; |
233 | module_param(disable_features, uint, S_IRUGO | S_IWUSR); | 233 | module_param(disable_features, uint, S_IRUGO | S_IWUSR); |
234 | MODULE_PARM_DESC(disable_features, "Disable selected driver features"); | 234 | MODULE_PARM_DESC(disable_features, "Disable selected driver features:\n" |
235 | "\t\t 0x01 disable SMBus PEC\n" | ||
236 | "\t\t 0x02 disable the block buffer\n" | ||
237 | "\t\t 0x08 disable the I2C block read functionality\n" | ||
238 | "\t\t 0x10 don't use interrupts "); | ||
235 | 239 | ||
236 | /* Make sure the SMBus host is ready to start transmitting. | 240 | /* Make sure the SMBus host is ready to start transmitting. |
237 | Return 0 if it is, -EBUSY if it is not. */ | 241 | Return 0 if it is, -EBUSY if it is not. */ |