From: Artem Bityutskiy Date: Mon, 2 Jan 2012 11:48:54 +0000 (+0200) Subject: mtd: introduce mtd_can_have_bb helper X-Git-Tag: v3.3-rc1~119^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f461a730242c528ca221948edceca49266a3ffb;p=pandora-kernel.git mtd: introduce mtd_can_have_bb helper This patch introduces new 'mtd_can_have_bb()' helper function which checks whether the flash can have bad eraseblocks. Then it changes all the direct 'mtd->block_isbad' use cases with 'mtd_can_have_bb()'. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed