mt5931: solve rk3188 and rk3168 compatible problem

This commit is contained in:
hwg
2013-07-12 11:02:18 +08:00
parent 71cf734496
commit 9636f52be0

View File

@@ -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);
/*----------------------------------------------------------------------------*/
/*!