diff options
-rw-r--r-- | drivers/iio/industrialio-event.c | 1 | ||||
-rw-r--r-- | include/linux/iio/types.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c index 258a973a1fb8..35a5b0311dae 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c | |||
@@ -209,6 +209,7 @@ static const char * const iio_ev_info_text[] = { | |||
209 | [IIO_EV_INFO_ENABLE] = "en", | 209 | [IIO_EV_INFO_ENABLE] = "en", |
210 | [IIO_EV_INFO_VALUE] = "value", | 210 | [IIO_EV_INFO_VALUE] = "value", |
211 | [IIO_EV_INFO_HYSTERESIS] = "hysteresis", | 211 | [IIO_EV_INFO_HYSTERESIS] = "hysteresis", |
212 | [IIO_EV_INFO_PERIOD] = "period", | ||
212 | }; | 213 | }; |
213 | 214 | ||
214 | static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr) | 215 | static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr) |
diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index d480631eabc2..4a848d6be3bf 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h | |||
@@ -70,6 +70,7 @@ enum iio_event_info { | |||
70 | IIO_EV_INFO_ENABLE, | 70 | IIO_EV_INFO_ENABLE, |
71 | IIO_EV_INFO_VALUE, | 71 | IIO_EV_INFO_VALUE, |
72 | IIO_EV_INFO_HYSTERESIS, | 72 | IIO_EV_INFO_HYSTERESIS, |
73 | IIO_EV_INFO_PERIOD, | ||
73 | }; | 74 | }; |
74 | 75 | ||
75 | enum iio_event_direction { | 76 | enum iio_event_direction { |