summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/rotary_encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/rotary_encoder.h')
-rw-r--r--kernel/include/linux/rotary_encoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/linux/rotary_encoder.h b/kernel/include/linux/rotary_encoder.h
index 3f594dce5..fe3dc64e5 100644
--- a/kernel/include/linux/rotary_encoder.h
+++ b/kernel/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__ */