summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkk <[email protected]>2023-10-30 23:12:42 +0800
committerGitHub <[email protected]>2023-10-30 23:12:42 +0800
commit7066761510dd3cb712c9e3657ac4da3ee220a20a (patch)
tree8ef0068242922f38a26a60728c3aef07f570730f
parente78cfdf64b4fa6c35dfaf427599bf9d3f3cb306c (diff)
[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197)
-rw-r--r--components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c2
-rw-r--r--components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c b/components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c
index 6c4b870d87..e279c50de1 100644
--- a/components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c
+++ b/components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c
@@ -162,4 +162,4 @@ int dfs_mqueue_init(void) {
}
return 0;
}
-INIT_COMPONENT_EXPORT(dfs_mqueue_init);
+INIT_ENV_EXPORT(dfs_mqueue_init);
diff --git a/components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c b/components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c
index e543d2f4f3..70b34ef3cb 100644
--- a/components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c
+++ b/components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c
@@ -238,4 +238,4 @@ int dfs_mqueue_init(void) {
}
return 0;
}
-INIT_COMPONENT_EXPORT(dfs_mqueue_init);
+INIT_ENV_EXPORT(dfs_mqueue_init);