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:27:20 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-06-23 11:40:05 +0200
commit8c1e760ab60994de26d2a2c85f91e86192999dfb (patch)
tree741281d011dac79b540cc69ed4cd39f6a426ecb8 /target/linux/generic/patches-4.9/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
parent4052443a235433fb97af9711bf6429cd05820ba9 (diff)
downloadupstream-8c1e760ab60994de26d2a2c85f91e86192999dfb.tar.gz
upstream-8c1e760ab60994de26d2a2c85f91e86192999dfb.tar.bz2
upstream-8c1e760ab60994de26d2a2c85f91e86192999dfb.zip
kernel: backport upstream mtdpart.c cleanups
Except for renames and line changes the only conflict was in allocate_partition in handling MTD_WRITEABLE. Hopefully it was handled correctly. 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.patch2
1 files changed, 1 insertions, 1 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 d965d91f76..78ebbf88ca 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
@@ -8,7 +8,7 @@
struct mtd_partition {
const char *name; /* identifier string */
-@@ -49,7 +50,6 @@ struct mtd_partition {
+@@ -50,7 +51,6 @@ struct mtd_partition {
#define MTDPART_SIZ_FULL (0)