mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
class has no owner field in kernel version >= 6.4.0
This commit is contained in:
parent
c8f3c122af
commit
aae6233b14
@ -4050,7 +4050,9 @@ static struct device_attribute ddb_attrs_fanspeed[] = {
|
||||
|
||||
static struct class ddb_class = {
|
||||
.name = "ddbridge",
|
||||
#if (KERNEL_VERSION(6, 4, 0) > LINUX_VERSION_CODE)
|
||||
.owner = THIS_MODULE,
|
||||
#endif
|
||||
.devnode = ddb_devnode,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user