projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'backlight-for-linus-4.11' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git]
/
tools
/
iio
/
iio_event_monitor.c
diff --git
a/tools/iio/iio_event_monitor.c
b/tools/iio/iio_event_monitor.c
index d9b7e0f306c6d196aea28162285e52c39848596c..b61245e1181d5ffc228e080bb8382b1a95851aae 100644
(file)
--- a/
tools/iio/iio_event_monitor.c
+++ b/
tools/iio/iio_event_monitor.c
@@
-57,6
+57,7
@@
static const char * const iio_chan_type_name_spec[] = {
[IIO_RESISTANCE] = "resistance",
[IIO_PH] = "ph",
[IIO_UVINDEX] = "uvindex",
[IIO_RESISTANCE] = "resistance",
[IIO_PH] = "ph",
[IIO_UVINDEX] = "uvindex",
+ [IIO_GRAVITY] = "gravity",
};
static const char * const iio_ev_type_text[] = {
};
static const char * const iio_ev_type_text[] = {
@@
-149,6
+150,7
@@
static bool event_is_known(struct iio_event_data *event)
case IIO_RESISTANCE:
case IIO_PH:
case IIO_UVINDEX:
case IIO_RESISTANCE:
case IIO_PH:
case IIO_UVINDEX:
+ case IIO_GRAVITY:
break;
default:
return false;
break;
default:
return false;