ramips: mtk-eip93: fix build with kernel <= 5.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
906aeaead2
commit
992ebc8aba
@ -5,11 +5,18 @@
|
||||
* Richard van Schagen <vschagen@icloud.com>
|
||||
*/
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/iversion.h>
|
||||
|
||||
#include <crypto/aes.h>
|
||||
#include <crypto/ctr.h>
|
||||
#include <crypto/hmac.h>
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)
|
||||
#include <crypto/sha1.h>
|
||||
#include <crypto/sha2.h>
|
||||
#else
|
||||
#include <crypto/sha.h>
|
||||
#endif
|
||||
#include <linux/delay.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/scatterlist.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user