From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:03 +0000
Subject: [PATCH] add ax88772C AX88772C_eeprom_tools
---
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