mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-26 07:14:41 +00:00
Compare commits
2 Commits
a41ef7cabd
...
5b39398e2d
Author | SHA1 | Date | |
---|---|---|---|
|
5b39398e2d | ||
|
43111f1972 |
3
Makefile
3
Makefile
@ -19,7 +19,8 @@ EXTRA_CFLAGS += -Wno-misleading-indentation
|
|||||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||||
#EXTRA_CFLAGS += -Wno-return-type
|
#EXTRA_CFLAGS += -Wno-return-type
|
||||||
#EXTRA_CFLAGS += -Wno-discarded-qualifiers
|
#EXTRA_CFLAGS += -Wno-discarded-qualifiers
|
||||||
|
EXTRA_CFLAGS += -Wno-missing-prototypes
|
||||||
|
EXTRA_CFLAGS += -Wno-missing-declarations
|
||||||
# Activates Concurrent Mode if uncommented
|
# Activates Concurrent Mode if uncommented
|
||||||
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
#include <drv_types.h>
|
#include <drv_types.h>
|
||||||
#include <hal_data.h>
|
#include <hal_data.h>
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
|
||||||
|
#define strlcpy strscpy
|
||||||
|
#endif
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
||||||
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
||||||
|
@ -337,7 +337,7 @@ struct rtw_usb_drv usb_drv = {
|
|||||||
.usbdrv.reset_resume = rtw_resume,
|
.usbdrv.reset_resume = rtw_resume,
|
||||||
#endif
|
#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,
|
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||||
#else
|
#else
|
||||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||||
|
Loading…
Reference in New Issue
Block a user