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