From 7c8b9e64de46cac7993050d184016faf34305d81 Mon Sep 17 00:00:00 2001 From: stic-server-open <1138705738@qq.com> Date: Sat, 3 Jan 2026 15:58:39 +0800 Subject: [PATCH] drivers: tp_common: create game_mode into touchpanel node Change-Id: I0b5d2ba62a9f85b2f946797e66529c67dd4be8d3 --- drivers/input/touchscreen/tp_common.c | 1 + include/linux/input/tp_common.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/input/touchscreen/tp_common.c b/drivers/input/touchscreen/tp_common.c index f22f5d46a376..52f95d0241ff 100644 --- a/drivers/input/touchscreen/tp_common.c +++ b/drivers/input/touchscreen/tp_common.c @@ -16,6 +16,7 @@ TS_ENABLE_FOPS(double_tap) TS_ENABLE_FOPS(fod_status) TS_ENABLE_FOPS(pen) TS_ENABLE_FOPS(pen_gen2_force) +TS_ENABLE_FOPS(game_mode) static int __init tp_common_init(void) { diff --git a/include/linux/input/tp_common.h b/include/linux/input/tp_common.h index ff4db5ee79ac..87351337f8eb 100644 --- a/include/linux/input/tp_common.h +++ b/include/linux/input/tp_common.h @@ -13,3 +13,4 @@ int tp_common_set_double_tap_ops(struct tp_common_ops *ops); int tp_common_set_fod_status_ops(struct tp_common_ops *ops); int tp_common_set_pen_ops(struct tp_common_ops *ops); int tp_common_set_pen_gen2_force_ops(struct tp_common_ops *ops); +int tp_common_set_game_mode_ops(struct tp_common_ops *ops);