summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/devfs
diff options
context:
space:
mode:
Diffstat (limited to 'components/dfs/filesystems/devfs')
-rw-r--r--components/dfs/filesystems/devfs/devfs.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/components/dfs/filesystems/devfs/devfs.c b/components/dfs/filesystems/devfs/devfs.c
index 2e2248d5cc..d615482452 100644
--- a/components/dfs/filesystems/devfs/devfs.c
+++ b/components/dfs/filesystems/devfs/devfs.c
@@ -313,15 +313,13 @@ static const struct dfs_filesystem_ops _device_fs =
"devfs",
DFS_FS_FLAG_DEFAULT,
&_device_fops,
-
dfs_device_fs_mount,
- RT_NULL,
- RT_NULL,
- RT_NULL,
-
- RT_NULL,
+ RT_NULL, /*unmount*/
+ RT_NULL, /*mkfs*/
+ RT_NULL, /*statfs*/
+ RT_NULL, /*unlink*/
dfs_device_fs_stat,
- RT_NULL,
+ RT_NULL, /*rename*/
};
int devfs_init(void)