summaryrefslogtreecommitdiffstats
path: root/include/linux/rotary_encoder.h
diff options
context:
space:
mode:
authorSylvain Rochet2015-10-14 08:24:36 +0200
committerDmitry Torokhov2015-10-14 08:30:31 +0200
commit47ec6e5a5f57f96d7d382e2d9f8dc5a5bdb45259 (patch)
tree9acbf207521a48c882f922544f01dfc1a37ffb50 /include/linux/rotary_encoder.h
parentInput: improve autorepeat initialization (diff)
downloadkernel-qcow2-linux-47ec6e5a5f57f96d7d382e2d9f8dc5a5bdb45259.tar.gz
kernel-qcow2-linux-47ec6e5a5f57f96d7d382e2d9f8dc5a5bdb45259.tar.xz
kernel-qcow2-linux-47ec6e5a5f57f96d7d382e2d9f8dc5a5bdb45259.zip
Input: rotary_encoder - add wake up support
This patch adds wake up support to GPIO rotary encoders. Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
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 3f594dce5716..b33f2d2a708f 100644
--- a/include/linux/rotary_encoder.h
+++ b/include/linux/rotary_encoder.h
@@ -11,6 +11,7 @@ struct rotary_encoder_platform_data {
bool relative_axis;
bool rollover;
bool half_period;
+ bool wakeup_source;
};
#endif /* __ROTARY_ENCODER_H__ */