From: Jasmin Jessich <jasmin@xxxxxx> Signed-off-by: Jasmin Jessich <jasmin@xxxxxx> --- v4l/compat.h | 4 ++++ v4l/scripts/make_config_compat.pl | 1 + 2 files changed, 5 insertions(+) diff --git a/v4l/compat.h b/v4l/compat.h index a28ce76..9c5d87d 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -2099,6 +2099,10 @@ static inline int pm_runtime_get_if_in_use(struct device *dev) } #endif +#ifdef NEED_KEY_APPSELECT +#define KEY_APPSELECT 0x244 /* AL Select Task/Application */ +#endif + #ifndef __GFP_RETRY_MAYFAIL #define __GFP_RETRY_MAYFAIL __GFP_REPEAT #endif diff --git a/v4l/scripts/make_config_compat.pl b/v4l/scripts/make_config_compat.pl index be278aa..d0dea7a 100644 --- a/v4l/scripts/make_config_compat.pl +++ b/v4l/scripts/make_config_compat.pl @@ -701,6 +701,7 @@ sub check_other_dependencies() check_files_for_func("is_of_node", "NEED_IS_OF_NODE", "include/linux/of.h"); check_files_for_func("skb_put_data", "NEED_SKB_PUT_DATA", "include/linux/skbuff.h"); check_files_for_func("pm_runtime_get_if_in_use", "NEED_PM_RUNTIME_GET", "include/linux/pm_runtime.h"); + check_files_for_func("KEY_APPSELECT", "NEED_KEY_APPSELECT", "include/uapi/linux/input-event-codes.h"); # For tests for uapi-dependent logic check_files_for_func_uapi("usb_endpoint_maxp", "NEED_USB_ENDPOINT_MAXP", "usb/ch9.h"); -- 2.7.4