From 7066761510dd3cb712c9e3657ac4da3ee220a20a Mon Sep 17 00:00:00 2001 From: kk Date: Mon, 30 Oct 2023 23:12:42 +0800 Subject: [dfs][mqueue]Ensure that dev is initialized before mqueue (#8197) --- components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c | 2 +- components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c | 2 +- 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); -- cgit v1.3.1