diff options
author | Sylvain Rochet <sylvain.rochet@finsecur.com> | 2015-10-13 23:24:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-10-13 23:30:31 -0700 |
commit | 47ec6e5a5f57f96d7d382e2d9f8dc5a5bdb45259 (patch) | |
tree | 9acbf207521a48c882f922544f01dfc1a37ffb50 /include/linux/rotary_encoder.h | |
parent | 027c71bbae3a6eeff00c11d1b708593a5c790314 (diff) |
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.h | 1 |
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__ */ |