summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/999-mtd.patch
blob: 713dd1f37643563d4568a5c2523e67a1c6f4ff24 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/mtd/maps/lantiq-flash.c
+++ b/drivers/mtd/maps/lantiq-flash.c
@@ -20,6 +20,8 @@
 #include <linux/platform_device.h>
 #include <linux/mtd/physmap.h>
 
+#include "../mtdcore.h"
+
 #include <lantiq_soc.h>
 #include <lantiq_platform.h>