From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/platform/rockchip/ispp/procfs.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/kernel/drivers/media/platform/rockchip/ispp/procfs.c b/kernel/drivers/media/platform/rockchip/ispp/procfs.c
index a2ebb5c..9cee3fc 100644
--- a/kernel/drivers/media/platform/rockchip/ispp/procfs.c
+++ b/kernel/drivers/media/platform/rockchip/ispp/procfs.c
@@ -119,12 +119,11 @@
return single_open(file, ispp_show, data);
}
-static const struct file_operations ops = {
- .owner = THIS_MODULE,
- .open = ispp_open,
- .read = seq_read,
- .llseek = seq_lseek,
- .release = single_release,
+static const struct proc_ops ops = {
+ .proc_open = ispp_open,
+ .proc_read = seq_read,
+ .proc_lseek = seq_lseek,
+ .proc_release = single_release,
};
int rkispp_proc_init(struct rkispp_device *dev)
--
Gitblit v1.6.2