Artem Bityutskiy 800ffd3496 mtd: do not use mtd->block_markbad directly
Instead, use the new 'mtd_can_have_bb()', or just rely on 'mtd_block_markbad()'
return code, which will be -EOPNOTSUPP if bad blocks are not supported.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:26 +00:00
..
2011-12-15 11:25:43 -07:00
2011-11-29 18:39:37 -05:00
2011-12-20 18:53:26 +01:00
2011-12-07 09:06:37 -08:00
2011-12-05 17:06:37 +01:00