Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165446
b: refs/heads/master
c: 05dd180
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and David Woodhouse committed Sep 4, 2009
1 parent 8c374c5 commit e7b1b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ffd24fc7f82a0b594250e5f221340be4c322cda
refs/heads/master: 05dd180709fca14fbae617c0dab1bed56be334fc
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/devices/mtd_dataflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len,
(void) dataflash_waitready(priv->spi);


#ifdef CONFIG_MTD_DATAFLASH_VERIFY_WRITE
#ifdef CONFIG_MTD_DATAFLASH_WRITE_VERIFY

/* (3) Compare to Buffer1 */
addr = pageaddr << priv->page_offset;
Expand Down Expand Up @@ -430,7 +430,7 @@ static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len,
} else
status = 0;

#endif /* CONFIG_MTD_DATAFLASH_VERIFY_WRITE */
#endif /* CONFIG_MTD_DATAFLASH_WRITE_VERIFY */

remaining = remaining - writelen;
pageaddr++;
Expand Down

0 comments on commit e7b1b20

Please sign in to comment.