aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/sm_ftl.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-18 13:07:43 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-18 13:07:43 -0400
commitd5381e42f64ca19f05c5799ffae5708acb6ed411 (patch)
tree8b5e757a9847047102c475c6c583afc191d02e5b /drivers/mtd/sm_ftl.c
parentf030d60b30855e18ac5bf080fa9e576147623d18 (diff)
parentb3c27b51db9112d03864fdef44fa611dd69c1425 (diff)
ASoC: Merge branch 'for-2.6.39' into for-2.6.40
Fix trivial conflict caused by silly spelling fix patch. Conflicts: sound/soc/codecs/wm8994.c
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
-rw-r--r--drivers/mtd/sm_ftl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index 2b0daae4018d..ed3d6cd2c6dc 100644
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -540,7 +540,7 @@ static int sm_check_block(struct sm_ftl *ftl, int zone, int block)
540 return -EIO; 540 return -EIO;
541 } 541 }
542 542
543 /* If the block is sliced (partialy erased usually) erase it */ 543 /* If the block is sliced (partially erased usually) erase it */
544 if (i == 2) { 544 if (i == 2) {
545 sm_erase_block(ftl, zone, block, 1); 545 sm_erase_block(ftl, zone, block, 1);
546 return 1; 546 return 1;
@@ -878,7 +878,7 @@ static int sm_init_zone(struct sm_ftl *ftl, int zone_num)
878 return 0; 878 return 0;
879} 879}
880 880
881/* Get and automaticly initialize an FTL mapping for one zone */ 881/* Get and automatically initialize an FTL mapping for one zone */
882struct ftl_zone *sm_get_zone(struct sm_ftl *ftl, int zone_num) 882struct ftl_zone *sm_get_zone(struct sm_ftl *ftl, int zone_num)
883{ 883{
884 struct ftl_zone *zone; 884 struct ftl_zone *zone;