summaryrefslogtreecommitdiff
path: root/components/net/lwip-1.4.1/src
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/net/lwip-1.4.1/src
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/net/lwip-1.4.1/src')
-rw-r--r--components/net/lwip-1.4.1/src/netif/ethernetif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/lwip-1.4.1/src/netif/ethernetif.c b/components/net/lwip-1.4.1/src/netif/ethernetif.c
index 9fbb883f36..7a8cde12da 100644
--- a/components/net/lwip-1.4.1/src/netif/ethernetif.c
+++ b/components/net/lwip-1.4.1/src/netif/ethernetif.c
@@ -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>