提交 f09f2c81 编写于 作者: B Bryan Freed 提交者: Greg Kroah-Hartman

staging:iio: Add an iio channel type string to support proximity sensors.

Add "proximity" to the iio_chan_type_name_spec_shared string list to
support proximity sensors.
Now this list fully matches the declared iio_chan_type enums.
Signed-off-by: NBryan Freed <bfreed@chromium.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9bff02f8
......@@ -54,6 +54,7 @@ static const char * const iio_chan_type_name_spec_shared[] = {
[IIO_MAGN] = "magn",
[IIO_LIGHT] = "illuminance",
[IIO_INTENSITY] = "intensity",
[IIO_PROXIMITY] = "proximity",
[IIO_TEMP] = "temp",
[IIO_INCLI] = "incli",
[IIO_ROT] = "rot",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册