From: jsg Date: Fri, 10 Jun 2022 00:50:50 +0000 (+0000) Subject: add struct kobj_attribute X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=efb48a61aa7743f64372d9c72364cbdda869bf72;p=openbsd add struct kobj_attribute required for 5.15.46 inteldrm --- 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) {