From 7255137b0a8cc1bda57d24d3cf1942550252f7ea Mon Sep 17 00:00:00 2001 From: bernard Date: Sun, 23 Feb 2014 00:10:09 +0800 Subject: [PATCH] [DFS] Add ramfs initialization in components initialization procedure --- components/init/components.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/init/components.c b/components/init/components.c index 44ff11361a..2c507e12f8 100644 --- a/components/init/components.c +++ b/components/init/components.c @@ -148,6 +148,10 @@ void rt_components_init(void) dfs_romfs_init(); #endif +#ifdef RT_USING_DFS_RAMFS + dfs_ramfs_init(); +#endif + #ifdef RT_USING_DFS_DEVFS devfs_init(); #endif