LinuxKPI: Remove owner argument from class_create function on KPI layer

to chase Linux 6.4

Sponsored by:	Serenity Cyber Security, LLC
MFC after:	1 week
Reviewed by:	manu, emaste
Differential Revision:	https://reviews.freebsd.org/D45610
This commit is contained in:
Vladimir Kondratyev 2024-06-26 23:44:12 +03:00
parent 73f3589120
commit 460908ea55

View file

@ -343,6 +343,9 @@ put_device(struct device *dev)
} }
struct class *class_create(struct module *owner, const char *name); struct class *class_create(struct module *owner, const char *name);
#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 60400
#define class_create(name) class_create(NULL, name)
#endif
static inline int static inline int
class_register(struct class *class) class_register(struct class *class)