aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-06-29 17:34:51 +0200
committerRafał Miłecki <rafal@milecki.pl>2022-09-13 14:22:36 +0200
commitcae4d089bc1d3125d8b35d6bf93c31dbe5827421 (patch)
tree0ad1a5773c9a20c8a7bbcc1800d0b94c2700709d /target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
parent308f0831f7615645c9a49dc601b4db6c52937893 (diff)
downloadupstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.tar.gz
upstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.tar.bz2
upstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.zip
kernel: backport mtd dynamic partition patch
Backport upstream solution that permits to declare nvmem cells with dynamic partition defined by special parser. This provide an OF node for NVMEM and connect it to the defined dynamic partition. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 1a9ee367343edce263f82cc91a49d796c9d45ea3)
Diffstat (limited to 'target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch')
-rw-r--r--target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch b/target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
index adb8b2ddd8..0e8708e5bb 100644
--- a/target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
+++ b/target/linux/generic/backport-5.10/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
@@ -25,7 +25,7 @@ Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
-@@ -1009,6 +1009,34 @@ int __get_mtd_device(struct mtd_info *mt
+@@ -1070,6 +1070,34 @@ int __get_mtd_device(struct mtd_info *mt
EXPORT_SYMBOL_GPL(__get_mtd_device);
/**