From 9370bb92b2d16684ee45cf24e879c93c509162da Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 19 Dec 2024 01:47:39 +0000 Subject: [PATCH] add wifi6 8852be driver --- kernel/drivers/input/touchscreen/gt1x/gt1x_tools.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kernel/drivers/input/touchscreen/gt1x/gt1x_tools.c b/kernel/drivers/input/touchscreen/gt1x/gt1x_tools.c index bf442dc..1d824bd 100644 --- a/kernel/drivers/input/touchscreen/gt1x/gt1x_tools.c +++ b/kernel/drivers/input/touchscreen/gt1x/gt1x_tools.c @@ -60,12 +60,11 @@ static char procname[20] = { 0 }; static struct proc_dir_entry *gt1x_tool_proc_entry; -static struct file_operations gt1x_tool_fops = { - .read = gt1x_tool_read, - .write = gt1x_tool_write, - .open = gt1x_tool_open, - .release = gt1x_tool_release, - .owner = THIS_MODULE, +static const struct proc_ops gt1x_tool_fops = { + .proc_read = gt1x_tool_read, + .proc_write = gt1x_tool_write, + .proc_open = gt1x_tool_open, + .proc_release = gt1x_tool_release, }; static void set_tool_node_name(char *procname) -- Gitblit v1.6.2