aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-11-20 13:42:19 +0100
committerRafał Miłecki <rafal@milecki.pl>2018-11-20 14:44:01 +0100
commit4d0431801d447ee8cffe96289ee531c67b795c1c (patch)
tree6bcdecbdeec86c374db150b38eb21b002791e9f2 /target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch
parent48d8d46d331cd866ad5717cc5b090223a1856a4a (diff)
downloadupstream-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.9/412-mtd-partial_eraseblock_unlock.patch')
-rw-r--r--target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch b/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch
index 2ffff4ecf9..1e8c90931c 100644
--- a/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch
+++ b/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch
@@ -20,7 +20,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
-@@ -344,7 +344,16 @@ static int part_lock(struct mtd_info *mt
+@@ -348,7 +348,16 @@ static int part_lock(struct mtd_info *mt
static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
{
struct mtd_part *part = mtd_to_part(mtd);