OSDN Git Service
(root)
/
android-x86
/
external-kernel-drivers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix incompatible pointer issue for kernel >= 5.2
[android-x86/external-kernel-drivers.git]
/
rtl8723bu
/
os_dep
/
linux
/
os_intfs.c
diff --git
a/rtl8723bu/os_dep/linux/os_intfs.c
b/rtl8723bu/os_dep/linux/os_intfs.c
index
3db32d9
..
2a46c98
100644
(file)
--- a/
rtl8723bu/os_dep/linux/os_intfs.c
+++ b/
rtl8723bu/os_dep/linux/os_intfs.c
@@
-750,7
+750,7
@@
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#else
, void *accel_priv
#endif
-#if
LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0
)
+#if
(LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
)
, select_queue_fallback_t fallback
#endif
#endif