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/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.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/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch')
-rw-r--r-- | target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch b/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch index 240d0b2a25..cca3728a0a 100644 --- a/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch +++ b/target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch @@ -17,8 +17,8 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> + run_parsers_by_type(part, MTD_PARSER_TYPE_FIRMWARE); } - void __weak arch_split_mtd_part(struct mtd_info *master, const char *name, -@@ -797,6 +798,12 @@ static void mtd_partition_split(struct m + static void mtd_partition_split(struct mtd_info *master, struct mtd_part *part) +@@ -792,6 +793,12 @@ static void mtd_partition_split(struct m if (rootfs_found) return; |