projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.14 to 4.14.158
[openwrt/openwrt.git]
/
target
/
linux
/
generic
/
pending-4.14
/
404-mtd-add-more-helper-functions.patch
diff --git
a/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
b/target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
index 9b2fcac93d0dbe3e0143ba0d9f8dc29a3ab5c25a..b424c24521e7b6dc64a9294706d4901a090a82fe 100644
(file)
--- a/
target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
+++ b/
target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch
@@
-11,7
+11,7
@@
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
-@@ -
800,6 +800
,17 @@ run_parsers_by_type(struct mtd_part *sla
+@@ -
782,6 +782
,17 @@ run_parsers_by_type(struct mtd_part *sla
return nr_parts;
}
return nr_parts;
}
@@
-29,7
+29,7
@@
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
#ifdef CONFIG_MTD_SPLIT_FIRMWARE_NAME
#define SPLIT_FIRMWARE_NAME CONFIG_MTD_SPLIT_FIRMWARE_NAME
#else
#ifdef CONFIG_MTD_SPLIT_FIRMWARE_NAME
#define SPLIT_FIRMWARE_NAME CONFIG_MTD_SPLIT_FIRMWARE_NAME
#else
-@@ -124
2,6 +1253
,24 @@ int mtd_is_partition(const struct mtd_in
+@@ -124
8,6 +1259
,24 @@ int mtd_is_partition(const struct mtd_in
}
EXPORT_SYMBOL_GPL(mtd_is_partition);
}
EXPORT_SYMBOL_GPL(mtd_is_partition);