From: Christopher Cordahi Date: Tue, 18 Dec 2012 21:11:52 +0000 (-0500) Subject: mtd: cmdlinepart: update /proc/mtd comment X-Git-Tag: v3.9-rc1~18^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd6ce5ef913a7b4dfe5cd5028309346d32a8c404;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- 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.