summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches/999-mtd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches/999-mtd.patch')
-rw-r--r--target/linux/lantiq/patches/999-mtd.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches/999-mtd.patch b/target/linux/lantiq/patches/999-mtd.patch
new file mode 100644
index 0000000..713dd1f
--- /dev/null
+++ b/target/linux/lantiq/patches/999-mtd.patch
@@ -0,0 +1,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>
+