Skip to content

Commit

Permalink
mtd: cmdlinepart: update /proc/mtd comment
Browse files Browse the repository at this point in the history
/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
a0ee24a.

Signed-off-by: Christopher Cordahi <[email protected]>
Cc: Philip Rakity <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
  • Loading branch information
Christopher Cordahi authored and dedekind committed Feb 4, 2013
1 parent ea8b8e2 commit bd6ce5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/cmdlinepart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit bd6ce5e

Please sign in to comment.