|
|
@@ -113,7 +113,7 @@ struct net_local {
|
|
|
|
|
|
/* Index to functions, as function prototypes. */
|
|
|
static int net_open(struct net_device *dev);
|
|
|
-static int net_send_packet(struct sk_buff *skb, struct net_device *dev);
|
|
|
+static netdev_tx_t net_send_packet(struct sk_buff *skb, struct net_device *dev);
|
|
|
static irqreturn_t net_interrupt(int irq, void *dev_id);
|
|
|
static void set_multicast_list(struct net_device *dev);
|
|
|
static void net_rx(struct net_device *dev);
|
|
|
@@ -324,7 +324,7 @@ net_open(struct net_device *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int
|
|
|
+static netdev_tx_t
|
|
|
net_send_packet(struct sk_buff *skb, struct net_device *dev)
|
|
|
{
|
|
|
struct net_local *lp = netdev_priv(dev);
|