aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/sm_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/sm_common.c')
-rw-r--r--drivers/mtd/nand/sm_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sm_common.c b/drivers/mtd/nand/sm_common.c
index 4a8f367c295c..57cc80cd01a3 100644
--- a/drivers/mtd/nand/sm_common.c
+++ b/drivers/mtd/nand/sm_common.c
@@ -121,7 +121,7 @@ int sm_register_device(struct mtd_info *mtd, int smartmedia)
121 if (ret) 121 if (ret)
122 return ret; 122 return ret;
123 123
124 /* Bad block marker postion */ 124 /* Bad block marker position */
125 chip->badblockpos = 0x05; 125 chip->badblockpos = 0x05;
126 chip->badblockbits = 7; 126 chip->badblockbits = 7;
127 chip->block_markbad = sm_block_markbad; 127 chip->block_markbad = sm_block_markbad;