X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpending-3.18%2F490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch;h=b2b46ac6aa8e2a22267274db4d6cb5e509451c7b;hp=bca3487d186ef47c6cbbf8ffcc5ee6241b47ef5f;hb=548182bc6d38a3817c8e9f5b11207043a31c59b9;hpb=1f7ce19df292dfe3c270091ac0f7edc5bb9a8324 diff --git a/target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch b/target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch index bca3487d18..b2b46ac6aa 100644 --- a/target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch +++ b/target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch @@ -11,7 +11,7 @@ Signed-off-by: Daniel Golle --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c -@@ -1212,6 +1212,49 @@ static struct mtd_info * __init open_mtd +@@ -1223,6 +1223,49 @@ static struct mtd_info * __init open_mtd return mtd; } @@ -61,7 +61,7 @@ Signed-off-by: Daniel Golle static int __init ubi_init(void) { int err, i, k; -@@ -1301,6 +1344,12 @@ static int __init ubi_init(void) +@@ -1312,6 +1355,12 @@ static int __init ubi_init(void) } }