From 530abd9f8481c41ac9be6a18df3d3e421143a3e4 Mon Sep 17 00:00:00 2001 From: Wangjunqi123 Date: Fri, 24 Nov 2023 09:10:09 +0800 Subject: [PATCH] define attribute_group --- vmlinux/arm64/vmlinux_601.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/vmlinux/arm64/vmlinux_601.h b/vmlinux/arm64/vmlinux_601.h index f691f756..d41f6f5f 100644 --- a/vmlinux/arm64/vmlinux_601.h +++ b/vmlinux/arm64/vmlinux_601.h @@ -2568,4 +2568,16 @@ struct attribute { struct kobject; -struct bin_attribute; \ No newline at end of file +struct bin_attribute; + +struct attribute_group { + const char *name; + umode_t (*is_visible)(struct kobject *, struct attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + struct attribute **attrs; + struct bin_attribute **bin_attrs; +}; + +struct kset; + +struct kobj_type; \ No newline at end of file -- Gitee