1
0
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:
internal 2023-07-31 21:37:50 +02:00
parent c8f3c122af
commit aae6233b14

View File

@ -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,
};