mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
5a7e6bd809
commit
5322934550
1 changed files with 5 additions and 1 deletions
|
|
@ -231,7 +231,11 @@ static const char *i801_feature_names[] = {
|
|||
|
||||
static unsigned int disable_features;
|
||||
module_param(disable_features, uint, S_IRUGO | S_IWUSR);
|
||||
MODULE_PARM_DESC(disable_features, "Disable selected driver features");
|
||||
MODULE_PARM_DESC(disable_features, "Disable selected driver features:\n"
|
||||
"\t\t 0x01 disable SMBus PEC\n"
|
||||
"\t\t 0x02 disable the block buffer\n"
|
||||
"\t\t 0x08 disable the I2C block read functionality\n"
|
||||
"\t\t 0x10 don't use interrupts ");
|
||||
|
||||
/* Make sure the SMBus host is ready to start transmitting.
|
||||
Return 0 if it is, -EBUSY if it is not. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue