aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2012-02-03 09:03:28 +0000
committerDavid Woodhouse <[email protected]>2012-03-26 23:23:43 +0000
commit79186876441278e7276d335448a4cb47fc4c1d8e (patch)
treef6fe4a75cdb7b0f614f1b2b8af25bbbce85568a7 /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: sst25l: initialize writebufsize (diff)
downloadkernel-79186876441278e7276d335448a4cb47fc4c1d8e.tar.gz
kernel-79186876441278e7276d335448a4cb47fc4c1d8e.zip
mtd: mtdconcat: return -EOPNOTSUPP if block_markbad is undefined
The main 'mtd_block_markbad()' function returns -EOPNOTSUPP if the '->block_markbad' method is undefined, and mtdconcat should do the same. Fix this by simply removing the 'mtd_can_have_bb()' because it is not really necessary. It could be treated as an optimization, but this function is expected to be used so rarely that it does not matter. Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions