1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

cpu/sam0_common/eth: expose correct setup function

This commit is contained in:
Leandro Lanzieri 2022-03-03 15:35:13 +01:00
parent 0c166b1e2a
commit f1075ad749
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 2 additions and 5 deletions

View File

@ -44,11 +44,10 @@ typedef struct {
/**
* @brief Setup SAM0 Ethernet peripheral
*
* @param[in] dev Pointer to the SAM0 Ethernet netdev struct
* @param[in] dev Pointer to the netdev struct
*
*/
void sam0_eth_netdev_setup(sam0_eth_netdev_t* dev);
void sam0_eth_setup(netdev_t* dev);
#ifdef __cplusplus
}

View File

@ -24,8 +24,6 @@ static netdev_t sam0eth;
static char stack[THREAD_STACKSIZE_DEFAULT];
static gnrc_netif_t _netif;
extern void sam0_eth_setup(netdev_t *netdev);
void auto_init_sam0_eth(void)
{
/* setup netdev device */