summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.0/993-backport-3.1-fix-mtd.patch
blob: 8a596164252d79c698c25bfbfeea694010a58636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>