This patch gives a name to the cmx270 nand mtd, making it possible to use command line partitioning. eg: mtdparts=cmx270-nand:32m(root),8m(data),-(spare)" does not work without this patch. The default (one full device partition) hardcoded in the driver is used. Signed-off-by: Raphael Assenat --- linux-2.6.18-rc2-8d-unionfs/drivers/mtd/nand/cmx270-nand.c 2006-08-17 15:32:02.000000000 -0400 +++ linux-2.6.18-rc2-8d2/drivers/mtd/nand/cmx270-nand.c 2006-09-05 10:23:16.000000000 -0400 @@ -218,6 +218,7 @@ goto err2; } + cmx270_nand_mtd->name = "cmx270-nand"; #ifdef CONFIG_MTD_CMDLINE_PARTS mtd_parts_nb = parse_mtd_partitions(cmx270_nand_mtd, part_probes, &mtd_parts, 0);