summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/devfs/devfs.c
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2021-07-12 18:17:25 +0800
committerWayne Lin <[email protected]>2021-07-12 18:17:25 +0800
commit735285360929c97d49ed51dbc41dfeec570a35b3 (patch)
tree9c1b5303717e80442037fd43f4144ff67c86bc5c /components/dfs/filesystems/devfs/devfs.c
parent978ea520d982ede86feee1f5f08b04bddd6efd1e (diff)
parent19f1c82bc8355879d157805748b23e6dabed701d (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
Diffstat (limited to 'components/dfs/filesystems/devfs/devfs.c')
-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)