This fixes a minor compile problem with kernel 4.14

Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
---
 package/kernel/mt76/patches/001-fix-compile.patch | 30 +++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/kernel/mt76/patches/001-fix-compile.patch

diff --git a/package/kernel/mt76/patches/001-fix-compile.patch 
b/package/kernel/mt76/patches/001-fix-compile.patch
new file mode 100644
index 0000000000..e5cfdcadb2
--- /dev/null
+++ b/package/kernel/mt76/patches/001-fix-compile.patch
@@ -0,0 +1,30 @@
+--- a/mt7603_soc.c
++++ b/mt7603_soc.c
+@@ -15,6 +15,7 @@
+  */
+ 
+ #include <linux/kernel.h>
++#include <linux/interrupt.h>
+ #include <linux/module.h>
+ #include <linux/platform_device.h>
+ 
+--- a/mt7603.h
++++ b/mt7603.h
+@@ -17,6 +17,7 @@
+ #ifndef __MT7603_H
+ #define __MT7603_H
+ 
++#include <linux/interrupt.h>
+ #include "mt76.h"
+ #include "mt7603_regs.h"
+ 
+--- a/mac80211.c
++++ b/mac80211.c
+@@ -13,6 +13,7 @@
+  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+  */
++#include <linux/of.h>
+ #include "mt76.h"
+ 
+ #define CHAN2G(_idx, _freq) {                 \
-- 
2.11.0


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to