kernel-6.12.58
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 88d0f5ca85cb8f6a7970ccca9d06a5aa424a18b2 Mon Sep 17 00:00:00 2001
|
||||
From: alium <info@aloisnespor.info>
|
||||
Date: Tue, 12 Mar 2024 07:14:38 +0100
|
||||
Subject: [PATCH 124/132] Update usb_intf.c for kernel 6.8
|
||||
|
||||
---
|
||||
os_dep/linux/usb_intf.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/staging/rtl8812au/os_dep/linux/usb_intf.c b/drivers/staging/rtl8812au/os_dep/linux/usb_intf.c
|
||||
index be0f654..709e935 100644
|
||||
--- a/drivers/staging/rtl8812au/os_dep/linux/usb_intf.c
|
||||
+++ b/drivers/staging/rtl8812au/os_dep/linux/usb_intf.c
|
||||
@@ -270,7 +270,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,
|
||||
--
|
||||
2.41.1
|
||||
|
||||
Reference in New Issue
Block a user