iio: core : events ABI for specifying period
[cascardo/linux.git] / drivers / iio / industrialio-event.c
index 258a973..35a5b03 100644 (file)
@@ -209,6 +209,7 @@ static const char * const iio_ev_info_text[] = {
        [IIO_EV_INFO_ENABLE] = "en",
        [IIO_EV_INFO_VALUE] = "value",
        [IIO_EV_INFO_HYSTERESIS] = "hysteresis",
+       [IIO_EV_INFO_PERIOD] = "period",
 };
 
 static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr)