kernel: add support for kernel 5.4
[openwrt/staging/jogo.git] / target / linux / generic / pending-5.4 / 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
index 79d18d036fedfd1681b4f98e6f9ebe06a09f103e..b21daea4f0c1bbdf9bd8882be3184806020f8a57 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 
 --- a/drivers/mtd/ubi/build.c
 +++ b/drivers/mtd/ubi/build.c
-@@ -1181,6 +1181,73 @@ static struct mtd_info * __init open_mtd
+@@ -1168,6 +1168,73 @@ static struct mtd_info * __init open_mtd
        return mtd;
  }
  
@@ -82,7 +82,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  static int __init ubi_init(void)
  {
        int err, i, k;
-@@ -1264,6 +1331,12 @@ static int __init ubi_init(void)
+@@ -1251,6 +1318,12 @@ static int __init ubi_init(void)
                }
        }