drivers/mtd/ftl.c: Change ftl_initialize_by_name to ftl_initialize_by_path

This commit is contained in:
Xiang Xiao
2018-11-09 08:15:57 -06:00
committed by Gregory Nutt
parent 6ee09e8888
commit 65177b3344
2 changed files with 11 additions and 20 deletions
+2 -3
View File
@@ -280,13 +280,12 @@ FAR struct mtd_dev_s *mtd_rwb_initialize(FAR struct mtd_dev_s *mtd);
* Initialize to provide a block driver wrapper around an MTD interface
*
* Input Parameters:
* name - The device name. The MTD block device will be
* registered as as /dev/mtdNAME where NAME is the device name.
* path - The block device path.
* mtd - The MTD device that supports the FLASH interface.
*
****************************************************************************/
int ftl_initialize_by_name(FAR const char *name, FAR struct mtd_dev_s *mtd);
int ftl_initialize_by_path(FAR const char *path, FAR struct mtd_dev_s *mtd);
/****************************************************************************
* Name: ftl_initialize