summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-06-10 00:50:51 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-06-10 00:50:51 +0000
commit817e9025b803e223a806c5523a1f93b79d354a6e (patch)
tree4f5431b930a43009d6c3cddfb100f4eeabc6b39a /sys/dev
parent3ef6015418763e3b141c77a1e1e1eae5dd8f1df5 (diff)
add struct kobj_attribute
required for 5.15.46 inteldrm
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/include/linux/kobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/kobject.h b/sys/dev/pci/drm/include/linux/kobject.h
index 48a308a5fd0..310b3b53a57 100644
--- a/sys/dev/pci/drm/include/linux/kobject.h
+++ b/sys/dev/pci/drm/include/linux/kobject.h
@@ -16,6 +16,9 @@ struct kobj_type {
void (*release)(struct kobject *);
};
+struct kobj_attribute {
+};
+
static inline void
kobject_init(struct kobject *obj, struct kobj_type *type)
{