aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-06-23 10:47:18 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-06-23 11:40:05 +0200
commit4d5f296af857ecbd3916d1d156d1bc63c998995a (patch)
treeac9c9dac59054e607ad4c357bb2edc01669b5937 /target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
parent8c1e760ab60994de26d2a2c85f91e86192999dfb (diff)
downloadupstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.tar.gz
upstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.tar.bz2
upstream-4d5f296af857ecbd3916d1d156d1bc63c998995a.zip
kernel: backport upstream mtd support for partition parsers
In a log term it should replace our implementation. For now both can coexist. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch')
-rw-r--r--target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch b/target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
index 78ebbf88ca..7c927359cf 100644
--- a/target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
+++ b/target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
@@ -1,6 +1,6 @@
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
-@@ -35,6 +35,7 @@
+@@ -41,6 +41,7 @@
* Note: writeable partitions require their size and offset be
* erasesize aligned (e.g. use MTDPART_OFS_NEXTBLK).
*/
@@ -8,7 +8,7 @@
struct mtd_partition {
const char *name; /* identifier string */
-@@ -50,7 +51,6 @@ struct mtd_partition {
+@@ -57,7 +58,6 @@ struct mtd_partition {
#define MTDPART_SIZ_FULL (0)