kernel: mtdsplit: modify rootfs helpers to provide partition type
authorRafał Miłecki <zajec5@gmail.com>
Mon, 1 Feb 2016 12:41:41 +0000 (12:41 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Mon, 1 Feb 2016 12:41:41 +0000 (12:41 +0000)
commite1491b341b212000bc26f68b55d9a060b9c48625
treecb58aca4643c016200b5a1ab1d3b297e7f226f7f
parent704473864eac18db32ac5a6d96b8eb36c556351b
kernel: mtdsplit: modify rootfs helpers to provide partition type

Our mtdsplit parsers may want to create partition with name choice based
on partition file system (e.g. SquashFS vs. JFFS2). This patch allows
passing extra argument pointing to variable that will be set properly.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48598
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_brnimage.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_lzma.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_seama.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c