mirror of
https://github.com/cilynx/rtl88x2bu
synced 2025-08-22 02:01:55 +00:00
Following unnesting of attribute
In Linux Kernel commit 49a78b05d5ca1e23fd737747a8757b8bdc319b30 the attribute `drvwrap.driver.shutdown` was unnested by one level. We follow that.
This commit is contained in:
parent
35a8a4842d
commit
806d7ced37
@ -336,7 +336,9 @@ 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(6, 8, 0))
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19))
|
||||
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||
#else
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
|
Loading…
x
Reference in New Issue
Block a user