kernel: backport U-Boot environment data NVMEM driver
[openwrt/staging/noltari.git] / target / linux / generic / pending-5.15 / 400-mtd-mtdsplit-support.patch
index 8b34f4f467c16dd5672b4207692cdb998d589088..d07afd70ee00b1577af03a16c838f2c238e8ab81 100644 (file)
@@ -288,7 +288,7 @@ Subject: [PATCH] mtd: mtdsplit support
  static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
  {
        if (mtd->writesize_shift)
-@@ -685,6 +703,13 @@ extern void __put_mtd_device(struct mtd_
+@@ -686,6 +704,13 @@ extern struct mtd_info *of_get_mtd_devic
  extern struct mtd_info *get_mtd_device_nm(const char *name);
  extern void put_mtd_device(struct mtd_info *mtd);