Clarify the possible values of event id, rather than requiring the reader to infer.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -490,7 +490,8 @@ struct gpioevent_request { · 489 unmodified lines | |||
| 490 | /** | 490 | /** |
| 491 | * struct gpioevent_data - The actual event being pushed to userspace | 491 | * struct gpioevent_data - The actual event being pushed to userspace |
| 492 | * @timestamp: best estimate of time of event occurrence, in nanoseconds | 492 | * @timestamp: best estimate of time of event occurrence, in nanoseconds |
| 493 | * @id: event identifier | 493 | * @id: event identifier, one of %GPIOEVENT_EVENT_RISING_EDGE or |
| 494 | * %GPIOEVENT_EVENT_FALLING_EDGE | ||
| 494 | * | 495 | * |
| 495 | * Note: This struct is part of ABI v1 and is deprecated. | 496 | * Note: This struct is part of ABI v1 and is deprecated. |
| 496 | * Use &struct gpio_v2_line_event instead. | 497 | * Use &struct gpio_v2_line_event instead. |