aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enc28j60.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enc28j60.c')
-rw-r--r--drivers/net/enc28j60.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c
index 372d6c6a4e7f..117fc6c12e34 100644
--- a/drivers/net/enc28j60.c
+++ b/drivers/net/enc28j60.c
@@ -1276,7 +1276,8 @@ static void enc28j60_hw_tx(struct enc28j60_net *priv)
1276 locked_reg_bfset(priv, ECON1, ECON1_TXRTS); 1276 locked_reg_bfset(priv, ECON1, ECON1_TXRTS);
1277} 1277}
1278 1278
1279static int enc28j60_send_packet(struct sk_buff *skb, struct net_device *dev) 1279static netdev_tx_t enc28j60_send_packet(struct sk_buff *skb,
1280 struct net_device *dev)
1280{ 1281{
1281 struct enc28j60_net *priv = netdev_priv(dev); 1282 struct enc28j60_net *priv = netdev_priv(dev);
1282 1283