mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
mt5931: solve rk3188 and rk3168 compatible problem
This commit is contained in:
@@ -1980,6 +1980,15 @@ wlanInit(
|
||||
return 0; /* success */
|
||||
} /* end of wlanInit() */
|
||||
|
||||
void mtk_init_delayed_work(struct delayed_work *work, void *func)
|
||||
{
|
||||
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 12)
|
||||
INIT_DELAYED_WORK(work, func);
|
||||
#else
|
||||
INIT_DELAYED_WORK(work, func, NULL);
|
||||
#endif
|
||||
}
|
||||
EXPORT_SYMBOL(mtk_init_delayed_work);
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user