diff options
Diffstat (limited to 'include/linux/rotary_encoder.h')
-rw-r--r-- | include/linux/rotary_encoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/rotary_encoder.h b/include/linux/rotary_encoder.h index 3f594dc..fe3dc64 100644 --- a/include/linux/rotary_encoder.h +++ b/include/linux/rotary_encoder.h @@ -8,9 +8,10 @@ struct rotary_encoder_platform_data { unsigned int gpio_b; unsigned int inverted_a; unsigned int inverted_b; + unsigned int steps_per_period; bool relative_axis; bool rollover; - bool half_period; + bool wakeup_source; }; #endif /* __ROTARY_ENCODER_H__ */ |