mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-22 21:44:59 +00:00
Compare commits
No commits in common. "5b39398e2de146edeb76716420f3288f508bea61" and "a41ef7cabd1aa36fa2b4eb63a71cf719bff11b72" have entirely different histories.
5b39398e2d
...
a41ef7cabd
3
Makefile
3
Makefile
@ -19,8 +19,7 @@ EXTRA_CFLAGS += -Wno-misleading-indentation
|
||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||
#EXTRA_CFLAGS += -Wno-return-type
|
||||
#EXTRA_CFLAGS += -Wno-discarded-qualifiers
|
||||
EXTRA_CFLAGS += -Wno-missing-prototypes
|
||||
EXTRA_CFLAGS += -Wno-missing-declarations
|
||||
|
||||
# Activates Concurrent Mode if uncommented
|
||||
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
|
||||
|
@ -17,10 +17,6 @@
|
||||
#include <drv_types.h>
|
||||
#include <hal_data.h>
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
|
||||
#define strlcpy strscpy
|
||||
#endif
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
||||
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
||||
|
@ -337,7 +337,7 @@ struct rtw_usb_drv usb_drv = {
|
||||
.usbdrv.reset_resume = rtw_resume,
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 8, 0))
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19))
|
||||
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||
#else
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
|
Loading…
Reference in New Issue
Block a user