aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch b/target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch
new file mode 100644
index 0000000000..8a59616425
--- /dev/null
+++ b/target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch
@@ -0,0 +1,13 @@
+Index: linux-3.0.3/drivers/mtd/maps/lantiq-flash.c
+===================================================================
+--- linux-3.0.3.orig/drivers/mtd/maps/lantiq-flash.c 2011-08-17 19:57:16.000000000 +0200
++++ linux-3.0.3/drivers/mtd/maps/lantiq-flash.c 2011-09-29 20:45:14.785132132 +0200
+@@ -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>
+