소스 검색

[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197)

kk 1 년 전
부모
커밋
7066761510
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      components/dfs/dfs_v1/filesystems/mqueue/dfs_mqueue.c
  2. 1 1
      components/dfs/dfs_v2/filesystems/mqueue/dfs_mqueue.c

+ 1 - 1
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);

+ 1 - 1
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);