aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-09-21 10:43:55 +0200
committerRafał Miłecki <rafal@milecki.pl>2022-09-21 10:43:55 +0200
commitedf3363959d3c43235dac2e973851ad572f082ae (patch)
treedd7b2c9ce09170c012f1532ab7e61c450bdf1c81 /target/linux/generic/backport-5.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
parent8e5de897691a359d849fe97a7e235537f4f9cc14 (diff)
downloadupstream-edf3363959d3c43235dac2e973851ad572f082ae.tar.gz
upstream-edf3363959d3c43235dac2e973851ad572f082ae.tar.bz2
upstream-edf3363959d3c43235dac2e973851ad572f082ae.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.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch')
-rw-r--r--target/linux/generic/backport-5.4/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.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch b/target/linux/generic/backport-5.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
index 6a78a675e0..f65fc6c8be 100644
--- a/target/linux/generic/backport-5.4/414-v6.1-mtd-allow-getting-MTD-device-associated-with-a-speci.patch
+++ b/target/linux/generic/backport-5.4/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
-@@ -1006,6 +1006,34 @@ int __get_mtd_device(struct mtd_info *mt
+@@ -1067,6 +1067,34 @@ int __get_mtd_device(struct mtd_info *mt
EXPORT_SYMBOL_GPL(__get_mtd_device);
/**