mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
drivers/mtd/ftl.c: Change ftl_initialize_by_name to ftl_initialize_by_path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user