diff --git a/cpu/esp32/esp-eth/esp_eth_netdev.h b/cpu/esp32/esp-eth/esp_eth_netdev.h index 71fb8a090d..eb60652fed 100644 --- a/cpu/esp32/esp-eth/esp_eth_netdev.h +++ b/cpu/esp32/esp-eth/esp_eth_netdev.h @@ -19,6 +19,10 @@ #ifndef ESP_ETH_NETDEV_H #define ESP_ETH_NETDEV_H +#include + +#include "mutex.h" +#include "net/ethernet.h" #include "net/netdev.h" #ifdef __cplusplus @@ -46,8 +50,6 @@ typedef struct uint32_t event; /**< received event */ bool link_up; /**< indicates whether link is up */ - gnrc_netif_t* netif; /**< reference to the corresponding netif */ - mutex_t dev_lock; /**< device is already in use */ } esp_eth_netdev_t;