From: Adrian Hunter Date: Wed, 30 Dec 2009 06:40:16 +0000 (+0100) Subject: mtd: OneNAND: OMAP2/3: add support for command line partitioning X-Git-Tag: v2.6.38-rc1~21^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263a8c8635445c0ede3cb22c98a1a12da4672ebc;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed