include/nuttx/fs/fs.h: register_mtddriver should depend on CONFIG_MTD not CONFIG_MTD_PARTITION
This commit is contained in:
parent
712540b6a0
commit
ae6797aabb
@ -641,7 +641,7 @@ int unregister_blockdriver(FAR const char *path);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_MTD_PARTITION
|
||||
#ifdef CONFIG_MTD
|
||||
int register_mtddriver(FAR const char *path, FAR struct mtd_dev_s *mtd,
|
||||
mode_t mode, FAR void *priv);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user