From 95099d4622f8cb224d94e314c7a8e0df60b13f87 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 08:38:01 +0000
Subject: [PATCH] enable docker ppp
---
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