kernel: backport mtd dynamic partition patch
[openwrt/openwrt.git] / target / linux / generic / pending-5.10 / 495-mtd-core-add-get_mtd_device_by_node.patch
index ac5e4086d9303fa53d772d365ee9983a899b3f36..cc5946ac057c16d81b8dd4083fdbb8663f03b965 100644 (file)
@@ -17,7 +17,7 @@ Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
 
 --- a/drivers/mtd/mtdcore.c
 +++ b/drivers/mtd/mtdcore.c
-@@ -1056,6 +1056,44 @@ out_unlock:
+@@ -1117,6 +1117,44 @@ out_unlock:
  }
  EXPORT_SYMBOL_GPL(get_mtd_device_nm);