diff options
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 53317a83857a..1e934160062c 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -309,7 +309,8 @@ struct eepro_local { | |||
309 | 309 | ||
310 | static int eepro_probe1(struct net_device *dev, int autoprobe); | 310 | static int eepro_probe1(struct net_device *dev, int autoprobe); |
311 | static int eepro_open(struct net_device *dev); | 311 | static int eepro_open(struct net_device *dev); |
312 | static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev); | 312 | static netdev_tx_t eepro_send_packet(struct sk_buff *skb, |
313 | struct net_device *dev); | ||
313 | static irqreturn_t eepro_interrupt(int irq, void *dev_id); | 314 | static irqreturn_t eepro_interrupt(int irq, void *dev_id); |
314 | static void eepro_rx(struct net_device *dev); | 315 | static void eepro_rx(struct net_device *dev); |
315 | static void eepro_transmit_interrupt(struct net_device *dev); | 316 | static void eepro_transmit_interrupt(struct net_device *dev); |
@@ -1133,7 +1134,8 @@ static void eepro_tx_timeout (struct net_device *dev) | |||
1133 | } | 1134 | } |
1134 | 1135 | ||
1135 | 1136 | ||
1136 | static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev) | 1137 | static netdev_tx_t eepro_send_packet(struct sk_buff *skb, |
1138 | struct net_device *dev) | ||
1137 | { | 1139 | { |
1138 | struct eepro_local *lp = netdev_priv(dev); | 1140 | struct eepro_local *lp = netdev_priv(dev); |
1139 | unsigned long flags; | 1141 | unsigned long flags; |