mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-04-30 18:29:47 +01:00
rtl8723ds: Update source for recent API changes
The source will now compile on kernels up to 4.20. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
@@ -757,12 +757,14 @@ void rtw_list_insert_tail(_list *plist, _list *phead)
|
||||
list_add_tail(plist, phead);
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
void rtw_init_timer(_timer *ptimer, void *padapter, void *pfunc)
|
||||
{
|
||||
_adapter *adapter = (_adapter *)padapter;
|
||||
|
||||
_init_timer(ptimer, adapter->pnetdev, pfunc, adapter);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user