fd/dirent, fs/driver/, and fs/vfs: Make MTD device accessible via a character driver proxy like block devices

This commit is contained in:
Xiang Xiao
2018-11-08 09:59:18 -06:00
committed by Gregory Nutt
parent f40a1c6749
commit e674edfa19
10 changed files with 292 additions and 25 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ union inode_ops_u
#ifndef CONFIG_DISABLE_MQUEUE
FAR struct mqueue_inode_s *i_mqueue; /* POSIX message queue */
#endif
#ifndef CONFIGMTD
#ifdef CONFIG_MTD
FAR struct mtd_dev_s *i_mtd; /* MTD device driver */
#endif
#ifdef CONFIG_PSEUDOFS_SOFTLINKS