aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-12 18:30:01 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-03-12 18:49:46 +0100
commite90e75b12c818c49704755b9e530491aee2d554c (patch)
tree5f5a5bb224839c465bda63866c59250d64ecafb4 /target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch
parentdeceb039931cd8eb011a0eb65731f335662070d0 (diff)
downloadupstream-e90e75b12c818c49704755b9e530491aee2d554c.tar.gz
upstream-e90e75b12c818c49704755b9e530491aee2d554c.tar.bz2
upstream-e90e75b12c818c49704755b9e530491aee2d554c.zip
kernel: add pending mtd patches adding NVMEM support
It's meant to provide upstream support for mtd & NVMEM. It's required e.g. for reading MAC address from mtd partition content. It seems to be in a final shape so it's worth testing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch')
-rw-r--r--target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch
index 3907ac2368..95863d6edb 100644
--- a/target/linux/generic/pending-5.4/480-mtd-set-rootfs-to-be-root-dev.patch
+++ b/target/linux/generic/pending-5.4/480-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>
-@@ -698,6 +699,15 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -699,6 +700,15 @@ int add_mtd_device(struct mtd_info *mtd)
of this try_ nonsense, and no bitching about it
either. :) */
__module_get(THIS_MODULE);