mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
These changes allow builds up through kernel 4.16. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
10737c73b1
commit
594a5a050d
13 changed files with 235 additions and 10 deletions
|
@ -177,7 +177,11 @@ struct led_priv{
|
|||
(adapter)->ledpriv.LedControlHandler((adapter), (LedAction)); \
|
||||
} while (0)
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
void BlinkTimerCallback(void *data);
|
||||
#else
|
||||
void BlinkTimerCallback(struct timer_list *t);
|
||||
#endif
|
||||
void BlinkWorkItemCallback(struct work_struct *work);
|
||||
|
||||
void ResetLedStatus(PLED_871x pLed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue