[PATCH] I2C: fix typo in documentation
Fix a typo in the i2c documentation: the i2c bus scanning tool found in lm_sensors is called i2cdetect, not i2c_detect. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
48edcb65dd
Коммит
014e45380a
|
@ -115,7 +115,7 @@ CHECKING THROUGH /DEV
|
||||||
If you try to access an adapter from a userspace program, you will have
|
If you try to access an adapter from a userspace program, you will have
|
||||||
to use the /dev interface. You will still have to check whether the
|
to use the /dev interface. You will still have to check whether the
|
||||||
functionality you need is supported, of course. This is done using
|
functionality you need is supported, of course. This is done using
|
||||||
the I2C_FUNCS ioctl. An example, adapted from the lm_sensors i2c_detect
|
the I2C_FUNCS ioctl. An example, adapted from the lm_sensors i2cdetect
|
||||||
program, is below:
|
program, is below:
|
||||||
|
|
||||||
int file;
|
int file;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче