diff options
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 2 | ||||
-rw-r--r-- | drivers/iio/industrialio-event.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index e453ef9e0c36..1e060f390b08 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c | |||
@@ -71,6 +71,7 @@ static const char * const iio_chan_type_name_spec[] = { | |||
71 | [IIO_PRESSURE] = "pressure", | 71 | [IIO_PRESSURE] = "pressure", |
72 | [IIO_HUMIDITYRELATIVE] = "humidityrelative", | 72 | [IIO_HUMIDITYRELATIVE] = "humidityrelative", |
73 | [IIO_ACTIVITY] = "activity", | 73 | [IIO_ACTIVITY] = "activity", |
74 | [IIO_STEPS] = "steps", | ||
74 | }; | 75 | }; |
75 | 76 | ||
76 | static const char * const iio_modifier_names[] = { | 77 | static const char * const iio_modifier_names[] = { |
@@ -118,6 +119,7 @@ static const char * const iio_chan_info_postfix[] = { | |||
118 | [IIO_CHAN_INFO_HARDWAREGAIN] = "hardwaregain", | 119 | [IIO_CHAN_INFO_HARDWAREGAIN] = "hardwaregain", |
119 | [IIO_CHAN_INFO_HYSTERESIS] = "hysteresis", | 120 | [IIO_CHAN_INFO_HYSTERESIS] = "hysteresis", |
120 | [IIO_CHAN_INFO_INT_TIME] = "integration_time", | 121 | [IIO_CHAN_INFO_INT_TIME] = "integration_time", |
122 | [IIO_CHAN_INFO_ENABLE] = "en", | ||
121 | }; | 123 | }; |
122 | 124 | ||
123 | /** | 125 | /** |
diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c index 1290290adcb5..3f5cee0295c5 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c | |||
@@ -197,6 +197,7 @@ static const char * const iio_ev_type_text[] = { | |||
197 | [IIO_EV_TYPE_ROC] = "roc", | 197 | [IIO_EV_TYPE_ROC] = "roc", |
198 | [IIO_EV_TYPE_THRESH_ADAPTIVE] = "thresh_adaptive", | 198 | [IIO_EV_TYPE_THRESH_ADAPTIVE] = "thresh_adaptive", |
199 | [IIO_EV_TYPE_MAG_ADAPTIVE] = "mag_adaptive", | 199 | [IIO_EV_TYPE_MAG_ADAPTIVE] = "mag_adaptive", |
200 | [IIO_EV_TYPE_INSTANCE] = "instance", | ||
200 | }; | 201 | }; |
201 | 202 | ||
202 | static const char * const iio_ev_dir_text[] = { | 203 | static const char * const iio_ev_dir_text[] = { |