linuxkpi: Add default_groups field to struct kobj_type

We don't use it, but it is set by the DRM drivers.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D39051
This commit is contained in:
Jean-Sébastien Pédron 2023-02-20 21:43:46 +01:00
parent e91f5814b8
commit 19a355436e
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -47,6 +47,7 @@ struct kobj_type {
void (*release)(struct kobject *kobj);
const struct sysfs_ops *sysfs_ops;
struct attribute **default_attrs;
const struct attribute_group **default_groups;
};
extern const struct kobj_type linux_kfree_type;