diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-11-20 13:42:19 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-11-20 14:44:01 +0100 |
commit | 4d0431801d447ee8cffe96289ee531c67b795c1c (patch) | |
tree | 6bcdecbdeec86c374db150b38eb21b002791e9f2 /target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch | |
parent | 48d8d46d331cd866ad5717cc5b090223a1856a4a (diff) | |
download | upstream-4d0431801d447ee8cffe96289ee531c67b795c1c.tar.gz upstream-4d0431801d447ee8cffe96289ee531c67b795c1c.tar.bz2 upstream-4d0431801d447ee8cffe96289ee531c67b795c1c.zip |
kernel: don't export parse_mtd_partitions_by_type() in 4.9 and 4.14
That function isn't used anywhere out of the mtdpart.c & can be static.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch')
-rw-r--r-- | target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 c74a8670cb..b37563c902 100644 --- 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 -@@ -1228,6 +1228,24 @@ int mtd_is_partition(const struct mtd_in +@@ -1231,6 +1231,24 @@ int mtd_is_partition(const struct mtd_in } EXPORT_SYMBOL_GPL(mtd_is_partition); @@ -65,7 +65,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> if (mtd->writesize_shift) --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h -@@ -115,6 +115,8 @@ int mtd_is_partition(const struct mtd_in +@@ -116,6 +116,8 @@ int mtd_is_partition(const struct mtd_in int mtd_add_partition(struct mtd_info *master, const char *name, long long offset, long long length); int mtd_del_partition(struct mtd_info *master, int partno); |