summaryrefslogtreecommitdiff
path: root/components/drivers/misc
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2023-04-08 22:25:51 +0800
committerGitHub <[email protected]>2023-04-08 22:25:51 +0800
commit9600b75b55dace1c4efef8551059df3d673b21ad (patch)
treeb1c175f5021b89513255a7fb7e63a5039e2dfbee /components/drivers/misc
parent7fbe8bbd494689cc0cc2be9c5a3eff1c916be38a (diff)
[DFS] prepare for dfs_v2.0 (#7200)
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode. * [BSP] fix code analysis warning * [smart] fix the pointer overflow. * code format * [smart] fix the lwp->lwp_obj checking.
Diffstat (limited to 'components/drivers/misc')
-rw-r--r--components/drivers/misc/rt_dev_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/misc/rt_dev_bus.c b/components/drivers/misc/rt_dev_bus.c
index 5e858d1781..d24b2b03b8 100644
--- a/components/drivers/misc/rt_dev_bus.c
+++ b/components/drivers/misc/rt_dev_bus.c
@@ -25,13 +25,13 @@
#include <sys/ioctl.h>
#include <dfs_file.h>
-static int bus_fops_open(struct dfs_fd *fd)
+static int bus_fops_open(struct dfs_file *fd)
{
LOG_D("bus fops open");
return 0;
}
-static int bus_fops_close(struct dfs_fd *fd)
+static int bus_fops_close(struct dfs_file *fd)
{
LOG_D("bus fops close");
return 0;