aboutsummaryrefslogtreecommitdiffstats
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rotary_encoder.h b/include/linux/rotary_encoder.h
index 215278b8df2a..3f594dce5716 100644
--- a/include/linux/rotary_encoder.h
+++ b/include/linux/rotary_encoder.h
@@ -10,6 +10,7 @@ struct rotary_encoder_platform_data {
unsigned int inverted_b;
bool relative_axis;
bool rollover;
+ bool half_period;
};
#endif /* __ROTARY_ENCODER_H__ */