fix for 5.2

drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c:986:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^~~~~~~~~~~~~~~~
drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c:986:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
This commit is contained in:
Pascal de Bruijn 2019-07-14 19:58:04 +02:00 committed by Icenowy Zheng
parent 861cbb2029
commit 67c5991b70

View file

@ -853,7 +853,7 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)
, 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
)