mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mtk-eip93: fix build error
This commit is contained in:
parent
e7d20f5a4e
commit
7e7f062de9
25
package/lean/mtk-eip93/patches/001-fix-build-error.patch
Normal file
25
package/lean/mtk-eip93/patches/001-fix-build-error.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 5cb6ed54f462618a788b9b7cd3baab13c48fd39c Mon Sep 17 00:00:00 2001
|
||||||
|
From: W_Y_CPP <383152993@qq.com>
|
||||||
|
Date: Mon, 28 Feb 2022 05:34:40 -0500
|
||||||
|
Subject: [PATCH] fix build error
|
||||||
|
|
||||||
|
---
|
||||||
|
src/eip93-common.h | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/eip93-common.h b/src/eip93-common.h
|
||||||
|
index 5781494ae..4cab86018 100644
|
||||||
|
--- a/src/eip93-common.h
|
||||||
|
+++ b/src/eip93-common.h
|
||||||
|
@@ -9,6 +9,8 @@
|
||||||
|
#define _COMMON_H_
|
||||||
|
|
||||||
|
#include <linux/bits.h>
|
||||||
|
+#include <linux/device.h>
|
||||||
|
+#include <linux/dma-mapping.h>
|
||||||
|
|
||||||
|
#define MTK_RING_SIZE 256
|
||||||
|
#define MTK_RING_BUSY 224
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user