diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-07-08 07:58:20 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-07-08 10:19:53 +0200 |
commit | 41e1e838fbbb0308ad7353a3714e04b8c4585e7e (patch) | |
tree | 2990477f9f9582ed12829d37c6b5a25894311c1a /target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch | |
parent | 639419ec4fd1501a9b9857cea96474271ef737b1 (diff) | |
download | upstream-41e1e838fbbb0308ad7353a3714e04b8c4585e7e.tar.gz upstream-41e1e838fbbb0308ad7353a3714e04b8c4585e7e.tar.bz2 upstream-41e1e838fbbb0308ad7353a3714e04b8c4585e7e.zip |
kernel: backport mtd patch adding of_platform_populate() calls
This is required for non-parser drivers handling MTD devices.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
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 b071ac61ec..d34306b7fc 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> -@@ -694,6 +695,19 @@ int add_mtd_device(struct mtd_info *mtd) +@@ -704,6 +705,19 @@ int add_mtd_device(struct mtd_info *mtd) of this try_ nonsense, and no bitching about it either. :) */ __module_get(THIS_MODULE); |