mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-24 09:01:35 +00:00
Linux 6.8 compat: usbdrv.drvwrap
This commit is contained in:
parent
57184b87cb
commit
7bdc911e1c
@ -348,7 +348,7 @@ struct rtw_usb_drv usb_drv = {
|
||||
.usbdrv.reset_resume = rtw_resume,
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19))
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 8, 0))
|
||||
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||
#else
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
|
Loading…
Reference in New Issue
Block a user