mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-24 22:44:58 +00:00
Use device_driver directly in struct usb_driver for Kernel 6.8
See 49a78b05d5
This commit is contained in:
parent
3cffd844ec
commit
166d1a4bb9
@ -320,7 +320,7 @@ struct rtw_usb_drv usb_drv = {
|
||||
.usbdrv.supports_autosuspend = 1,
|
||||
#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