From bd6ce5ef913a7b4dfe5cd5028309346d32a8c404 Mon Sep 17 00:00:00 2001 From: Christopher Cordahi Date: Tue, 18 Dec 2012 16:11:52 -0500 Subject: [PATCH] mtd: cmdlinepart: update /proc/mtd comment /proc/mtd doesn't contain the mtd-id of the device, but the part name from the command line. This corrects what I believe is an obsolete comment from commit a0ee24a03b1c06813c814b9f70946c8984752f01. Signed-off-by: Christopher Cordahi Cc: Philip Rakity Signed-off-by: Artem Bityutskiy --- drivers/mtd/cmdlinepart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index 8d4a166..721d05c 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c @@ -22,7 +22,6 @@ * * mtdparts=[; := :[,] - * where is the name from the "cat /proc/mtd" command * := [@][][ro][lk] * := unique name used in mapping driver/device (mtd->name) * := standard linux memsize OR "-" to denote all remaining space @@ -32,6 +31,7 @@ * if omitted the part will immediately follow the previous part * or 0 if the first part * := '(' NAME ')' + * NAME will appear in /proc/mtd * * and can be specified such that the parts are out of order * in physical memory and may even overlap. -- 2.7.4