generic: 5.15: refresh patches

Refresh patches:
- 402-mtd-blktrans-call-add-disks-after-mtd-device.patch
- 420-mtd-set-rootfs-to-be-root-dev.patch
- 495-mtd-core-add-get_mtd_device_by_node.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Nick Hainke 2022-07-01 15:25:29 +02:00 committed by Christian Marangi
parent 6686194255
commit 3c3367f03e
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
#include "mtdcore.h"
@@ -1002,6 +1003,8 @@ int mtd_device_parse_register(struct mtd
@@ -1012,6 +1013,8 @@ int mtd_device_parse_register(struct mtd
ret = mtd_otp_nvmem_add(mtd);

View File

@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
#include <linux/nvmem-provider.h>
#include <linux/mtd/mtd.h>
@@ -697,6 +698,16 @@ int add_mtd_device(struct mtd_info *mtd)
@@ -707,6 +708,16 @@ int add_mtd_device(struct mtd_info *mtd)
of this try_ nonsense, and no bitching about it
either. :) */
__module_get(THIS_MODULE);

View File

@ -17,7 +17,7 @@ Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -1203,6 +1203,44 @@ out_unlock:
@@ -1213,6 +1213,44 @@ out_unlock:
}
EXPORT_SYMBOL_GPL(get_mtd_device_nm);