diff options
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index af3e76d652ba..e453ef9e0c36 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c | |||
@@ -70,6 +70,7 @@ static const char * const iio_chan_type_name_spec[] = { | |||
70 | [IIO_CCT] = "cct", | 70 | [IIO_CCT] = "cct", |
71 | [IIO_PRESSURE] = "pressure", | 71 | [IIO_PRESSURE] = "pressure", |
72 | [IIO_HUMIDITYRELATIVE] = "humidityrelative", | 72 | [IIO_HUMIDITYRELATIVE] = "humidityrelative", |
73 | [IIO_ACTIVITY] = "activity", | ||
73 | }; | 74 | }; |
74 | 75 | ||
75 | static const char * const iio_modifier_names[] = { | 76 | static const char * const iio_modifier_names[] = { |
@@ -91,6 +92,10 @@ static const char * const iio_modifier_names[] = { | |||
91 | [IIO_MOD_NORTH_TRUE] = "from_north_true", | 92 | [IIO_MOD_NORTH_TRUE] = "from_north_true", |
92 | [IIO_MOD_NORTH_MAGN_TILT_COMP] = "from_north_magnetic_tilt_comp", | 93 | [IIO_MOD_NORTH_MAGN_TILT_COMP] = "from_north_magnetic_tilt_comp", |
93 | [IIO_MOD_NORTH_TRUE_TILT_COMP] = "from_north_true_tilt_comp", | 94 | [IIO_MOD_NORTH_TRUE_TILT_COMP] = "from_north_true_tilt_comp", |
95 | [IIO_MOD_RUNNING] = "running", | ||
96 | [IIO_MOD_JOGGING] = "jogging", | ||
97 | [IIO_MOD_WALKING] = "walking", | ||
98 | [IIO_MOD_STILL] = "still", | ||
94 | }; | 99 | }; |
95 | 100 | ||
96 | /* relies on pairs of these shared then separate */ | 101 | /* relies on pairs of these shared then separate */ |