git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: rename MTD_OOB_* to MTD_OPS_*
[pandora-kernel.git]
/
drivers
/
mtd
/
nand
/
sm_common.c
diff --git
a/drivers/mtd/nand/sm_common.c
b/drivers/mtd/nand/sm_common.c
index
b6332e8
..
2c438ef
100644
(file)
--- a/
drivers/mtd/nand/sm_common.c
+++ b/
drivers/mtd/nand/sm_common.c
@@
-47,7
+47,7
@@
static int sm_block_markbad(struct mtd_info *mtd, loff_t ofs)
/* As long as this function is called on erase block boundaries
it will work correctly for 256 byte nand */
- ops.mode = MTD_O
OB_PLACE
;
+ ops.mode = MTD_O
PS_PLACE_OOB
;
ops.ooboffs = 0;
ops.ooblen = mtd->oobsize;
ops.oobbuf = (void *)&oob;