diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2009-12-30 01:40:16 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-01-06 10:22:45 -0500 |
commit | 263a8c8635445c0ede3cb22c98a1a12da4672ebc (patch) | |
tree | e7b4ca9b40573e226d5151f51efd24904415ef83 /drivers/mtd/Makefile | |
parent | b7b1a29d94c17e4341856381bccb4d17495bea60 (diff) |
mtd: OneNAND: OMAP2/3: add support for command line partitioning
Add the ability to parse MTD partition information from the
kernel command line.
Note that a pointless BUG_ON is removed, as are redundant
calls to 'del_mtd_partitions()' and 'del_mtd_device()'
because they are also done by 'onenand_release()'.
Finally note that 'add_mtd_device()' returns 1 on failure
so the error condition was incorrect.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/Makefile')
0 files changed, 0 insertions, 0 deletions