File fix-build-on-kernel-6_8.patch of Package failed_rtl8188gu
diff -Nur rtl8188gu/os_dep/linux/usb_intf.c rtl8188gu-new/os_dep/linux/usb_intf.c --- rtl8188gu/os_dep/linux/usb_intf.c 2023-01-12 00:45:31.000000000 +0800 +++ rtl8188gu-new/os_dep/linux/usb_intf.c 2024-06-08 16:53:30.171933680 +0800 @@ -316,7 +316,7 @@ .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,