mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 09:28:49 +08:00
[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.
This commit is contained in:
@@ -434,9 +434,9 @@ int eth_system_device_init(void)
|
||||
RT_ASSERT(result == RT_EOK);
|
||||
#endif
|
||||
|
||||
return (int)result;
|
||||
return (int)result;
|
||||
}
|
||||
INIT_DEVICE_EXPORT(eth_system_device_init);
|
||||
INIT_PREV_EXPORT(eth_system_device_init);
|
||||
|
||||
#ifdef RT_USING_FINSH
|
||||
#include <finsh.h>
|
||||
|
||||
@@ -452,7 +452,7 @@ int eth_system_device_init(void)
|
||||
|
||||
return (int)result;
|
||||
}
|
||||
INIT_DEVICE_EXPORT(eth_system_device_init);
|
||||
INIT_PREV_EXPORT(eth_system_device_init);
|
||||
|
||||
#ifdef RT_USING_FINSH
|
||||
#include <finsh.h>
|
||||
|
||||
Reference in New Issue
Block a user