Signed-off-by: Conor O'Gorman <i...@conorogorman.net> --- .../patches-3.2/306-fix-owrt-mtd-split.patch | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 target/linux/lantiq/patches-3.2/306-fix-owrt-mtd-split.patch
diff --git a/target/linux/lantiq/patches-3.2/306-fix-owrt-mtd-split.patch b/target/linux/lantiq/patches-3.2/306-fix-owrt-mtd-split.patch new file mode 100644 index 0000000..c000274 --- /dev/null +++ b/target/linux/lantiq/patches-3.2/306-fix-owrt-mtd-split.patch @@ -0,0 +1,11 @@ +--- a/drivers/mtd/mtdpart.c ++++ b/drivers/mtd/mtdpart.c +@@ -1053,7 +1053,7 @@ int add_mtd_partitions(struct mtd_info * + struct mtd_part *slave; + uint64_t cur_offset = 0; + int i; +-#ifdef CONFIG_MTD_ROOTFS_SPLIT ++#if defined(CONFIG_MTD_ROOTFS_SPLIT) || defined(CONFIG_MTD_UIMAGE_SPLIT) + int ret; + #endif + -- 1.7.4.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel