diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-06-29 17:34:51 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-09-13 14:22:36 +0200 |
commit | cae4d089bc1d3125d8b35d6bf93c31dbe5827421 (patch) | |
tree | 0ad1a5773c9a20c8a7bbcc1800d0b94c2700709d /target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch | |
parent | 308f0831f7615645c9a49dc601b4db6c52937893 (diff) | |
download | upstream-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/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch')
-rw-r--r-- | target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch index d34306b7fc..ad68d52c72 100644 --- a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch +++ b/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch @@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> #include <linux/nvmem-provider.h> #include <linux/mtd/mtd.h> -@@ -704,6 +705,19 @@ int add_mtd_device(struct mtd_info *mtd) +@@ -765,6 +766,19 @@ int add_mtd_device(struct mtd_info *mtd) of this try_ nonsense, and no bitching about it either. :) */ __module_get(THIS_MODULE); |