diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-11-20 17:04:48 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-11-24 12:24:02 +0100 |
commit | c87d47aee846dc4fc6d018f82ee769679b17efd7 (patch) | |
tree | eaab764ae1591d0b41d69dd87ffb53c024263b53 /target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch | |
parent | f995e143ba9d833fbf95ef9925d9aad222d4855f (diff) | |
download | upstream-c87d47aee846dc4fc6d018f82ee769679b17efd7.tar.gz upstream-c87d47aee846dc4fc6d018f82ee769679b17efd7.tar.bz2 upstream-c87d47aee846dc4fc6d018f82ee769679b17efd7.zip |
kernel: drop unused arch_split_mtd_part()
No single target/arch uses it and most likely there is no need to make
such a potential code target/arch specific.
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 | 6 |
1 files changed, 3 insertions, 3 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 d1035b6738..8715304fa5 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 -@@ -1232,6 +1232,24 @@ int mtd_is_partition(const struct mtd_in +@@ -1225,6 +1225,24 @@ int mtd_is_partition(const struct mtd_in } EXPORT_SYMBOL_GPL(mtd_is_partition); @@ -72,5 +72,5 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> +struct mtd_info *mtdpart_get_master(const struct mtd_info *mtd); +uint64_t mtdpart_get_offset(const struct mtd_info *mtd); uint64_t mtd_get_device_size(const struct mtd_info *mtd); - extern void __weak arch_split_mtd_part(struct mtd_info *master, - const char *name, int offset, int size); + + #endif |