summaryrefslogtreecommitdiff
path: root/yaffs_mtdif.c
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-10-05 10:13:50 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-10-07 11:14:38 +1300
commite33554a67753729f6b74677473cf0ec3b8d35a7e (patch)
tree11173283956c8eb07ef36c736b244e6834c05537 /yaffs_mtdif.c
parentb07263adb5c642fcb911125a77b9e7f4bb8af64c (diff)
yaffs First round of name changes
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_mtdif.c')
-rw-r--r--yaffs_mtdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c
index e073a5e..48d9058 100644
--- a/yaffs_mtdif.c
+++ b/yaffs_mtdif.c
@@ -25,7 +25,7 @@
int nandmtd_EraseBlockInNAND(yaffs_Device *dev, int blockNumber)
{
- struct mtd_info *mtd = yaffs_DeviceToMtd(dev);
+ struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
__u32 addr =
((loff_t) blockNumber) * dev->param.totalBytesPerChunk
* dev->param.nChunksPerBlock;