kernel: bump 5.10 to 5.10.114
[openwrt/staging/chunkeey.git] / target / linux / generic / pending-5.10 / 400-mtd-mtdsplit-support.patch
index 6f816a6ad35a63b6d439e9ca499effe4fb8c40ad..42043a28183801e542c2d471db8b3e02856d64c0 100644 (file)
  obj-$(CONFIG_MTD_BLOCK)               += mtdblock.o
 --- a/include/linux/mtd/mtd.h
 +++ b/include/linux/mtd/mtd.h
-@@ -608,6 +608,24 @@ static inline void mtd_align_erase_req(s
+@@ -606,6 +606,24 @@ static inline void mtd_align_erase_req(s
                req->len += mtd->erasesize - mod;
  }
  
  static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
  {
        if (mtd->writesize_shift)
-@@ -680,6 +698,13 @@ extern void __put_mtd_device(struct mtd_
+@@ -678,6 +696,13 @@ extern void __put_mtd_device(struct mtd_
  extern struct mtd_info *get_mtd_device_nm(const char *name);
  extern void put_mtd_device(struct mtd_info *mtd);