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:
parent
0c166b1e2a
commit
f1075ad749
@ -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
|
||||
}
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user