Patchwork [2/2] mtd: cmdlinepart: update /proc/mtd comment

login
register
mail settings
Submitter Christopher Cordahi
Date Dec. 18, 2012, 9:11 p.m.
Message ID <e30dac743f4ffb1c63ee9b5d6d55185813606a71.1355863937.git.christophercordahi@nanometrics.ca>
Download mbox | patch
Permalink /patch/207212/
State Accepted
Commit bd6ce5ef913a7b4dfe5cd5028309346d32a8c404
Headers show

Comments

Christopher Cordahi - Dec. 18, 2012, 9:11 p.m.
/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 <christophercordahi@nanometrics.ca>
Cc: Philip Rakity <prakity@yahoo.com>
---
 drivers/mtd/cmdlinepart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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=<mtddef>[;<mtddef]
  * <mtddef>  := <mtd-id>:<partdef>[,<partdef>]
- *              where <mtd-id> is the name from the "cat /proc/mtd" command
  * <partdef> := <size>[@<offset>][<name>][ro][lk]
  * <mtd-id>  := unique name used in mapping driver/device (mtd->name)
  * <size>    := 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 ')'
+ *              NAME will appear in /proc/mtd
  *
  * <size> and <offset> can be specified such that the parts are out of order
  * in physical memory and may even overlap.