From patchwork Tue Dec 18 21:11:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] mtd: cmdlinepart: update /proc/mtd comment Date: Tue, 18 Dec 2012 11:11:52 -0000 From: Christopher Cordahi X-Patchwork-Id: 207212 Message-Id: To: David Woodhouse Cc: Philip Rakity , Artem Bityutskiy , Huang Shijie , Linux MTD mailing list , Shmulik Ladkani , Christopher Cordahi , Brian Norris , Huang Shijie /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 --- drivers/mtd/cmdlinepart.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.