dect
/
linux-2.6
Archived
13
0
Fork 0

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: Bryan Freed <bfreed@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Bryan Freed 2011-07-07 12:01:55 -07:00 committed by Greg Kroah-Hartman
parent 9bff02f8f7
commit f09f2c8142
1 changed files with 1 additions and 0 deletions

View File

@ -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",