aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/counter.h')
-rw-r--r--linux-headers/include/linux/counter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-headers/include/linux/counter.h b/linux-headers/include/linux/counter.h
index 2d9befe..b66f541 100644
--- a/linux-headers/include/linux/counter.h
+++ b/linux-headers/include/linux/counter.h
@@ -38,7 +38,7 @@ enum counter_scope {
*
* For example, if the Count 2 ceiling extension of Counter device 4 is desired,
* set type equal to COUNTER_COMPONENT_EXTENSION, scope equal to
- * COUNTER_COUNT_SCOPE, parent equal to 2, and id equal to the value provided by
+ * COUNTER_SCOPE_COUNT, parent equal to 2, and id equal to the value provided by
* the respective /sys/bus/counter/devices/counter4/count2/ceiling_component_id
* sysfs attribute.
*/
@@ -65,6 +65,8 @@ enum counter_event_type {
COUNTER_EVENT_CHANGE_OF_STATE,
/* Count value captured */
COUNTER_EVENT_CAPTURE,
+ /* Direction change detected */
+ COUNTER_EVENT_DIRECTION_CHANGE,
};
/**