diff --git a/bsp/stm32f429-apollo/drivers/drv_eth.c b/bsp/stm32f429-apollo/drivers/drv_eth.c index 56dd2cc2d..78e2342c0 100644 --- a/bsp/stm32f429-apollo/drivers/drv_eth.c +++ b/bsp/stm32f429-apollo/drivers/drv_eth.c @@ -589,4 +589,4 @@ static int rt_hw_stm32_eth_init(void) return state; } -INIT_DEVICE_EXPORT(rt_hw_stm32_eth_init); +INIT_APP_EXPORT(rt_hw_stm32_eth_init);