mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
adjust to 6.4.0 kernel change
This commit is contained in:
parent
ccfdc2b984
commit
98f98fea0e
@ -1094,7 +1094,11 @@ static int __init init_dvbdev(void)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0))
|
||||||
dvb_class = class_create(THIS_MODULE, "dvb");
|
dvb_class = class_create(THIS_MODULE, "dvb");
|
||||||
|
#else
|
||||||
|
dvb_class = class_create("dvb");
|
||||||
|
#endif
|
||||||
if (IS_ERR(dvb_class)) {
|
if (IS_ERR(dvb_class)) {
|
||||||
retval = PTR_ERR(dvb_class);
|
retval = PTR_ERR(dvb_class);
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user