summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/jffs2/dfs_jffs2.c
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-11-03 11:44:37 +0800
committerbernard <[email protected]>2017-11-03 11:44:37 +0800
commit6d9fcd04d2fe0ed5f8d2df220f209cbbc8d1907b (patch)
treee4d79c5bdf2fffdfeb14c7c6d6231f40e88912ff /components/dfs/filesystems/jffs2/dfs_jffs2.c
parentf08d1f503408b9eab9ce440828639915b7db7520 (diff)
[Kernel] Change the order of initialization.
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item in the initalization thread. 2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
Diffstat (limited to 'components/dfs/filesystems/jffs2/dfs_jffs2.c')
-rw-r--r--components/dfs/filesystems/jffs2/dfs_jffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/jffs2/dfs_jffs2.c b/components/dfs/filesystems/jffs2/dfs_jffs2.c
index 78c7730136..f2ffe471ed 100644
--- a/components/dfs/filesystems/jffs2/dfs_jffs2.c
+++ b/components/dfs/filesystems/jffs2/dfs_jffs2.c
@@ -726,5 +726,5 @@ int dfs_jffs2_init(void)
rt_kprintf("init jffs2 lock mutex okay\n");
return 0;
}
-INIT_FS_EXPORT(dfs_jffs2_init);
+INIT_COMPONENT_EXPORT(dfs_jffs2_init);