net/ethernet: All types are prefixed with ethernet_

Aligning eth_hw_caps to the right prefix, so ethernet_hw_caps.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2018-04-06 10:57:13 +02:00 committed by Jukka Rissanen
commit 4bf1a9bd60
12 changed files with 38 additions and 35 deletions

View file

@ -764,11 +764,11 @@ static int eth_net_tx(struct net_if *iface, struct net_pkt *pkt)
return ret;
}
static enum eth_hw_caps eth_enc28j60_get_capabilities(struct device *dev)
static enum ethernet_hw_caps eth_enc28j60_get_capabilities(struct device *dev)
{
ARG_UNUSED(dev);
return ETH_LINK_10BASE_T;
return ETHERNET_LINK_10BASE_T;
}
#ifdef CONFIG_ETH_ENC28J60_0