fs/driver: Fix missing declaration of find_mtddriver when CONFIG_MTD=n
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
9056cabd83
commit
c019533d7a
@ -94,7 +94,7 @@ int find_blockdriver(FAR const char *pathname, int mountflags,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT)
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
int block_proxy(FAR struct file *filep, FAR const char *blkdev, int oflags);
|
||||
#endif
|
||||
|
||||
@ -142,7 +142,7 @@ int mtd_proxy(FAR const char *mtddev, int mountflags,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_MTD) && !defined(CONFIG_DISABLE_MOUNTPOINT)
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
int find_mtddriver(FAR const char *pathname, FAR struct inode **ppinode);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user