diff options
Diffstat (limited to 'drivers/net/ni52.c')
-rw-r--r-- | drivers/net/ni52.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ni52.c b/drivers/net/ni52.c index a0ac5d4f27d3..bd0ac690d12c 100644 --- a/drivers/net/ni52.c +++ b/drivers/net/ni52.c | |||
@@ -170,7 +170,7 @@ static int ni52_probe1(struct net_device *dev, int ioaddr); | |||
170 | static irqreturn_t ni52_interrupt(int irq, void *dev_id); | 170 | static irqreturn_t ni52_interrupt(int irq, void *dev_id); |
171 | static int ni52_open(struct net_device *dev); | 171 | static int ni52_open(struct net_device *dev); |
172 | static int ni52_close(struct net_device *dev); | 172 | static int ni52_close(struct net_device *dev); |
173 | static int ni52_send_packet(struct sk_buff *, struct net_device *); | 173 | static netdev_tx_t ni52_send_packet(struct sk_buff *, struct net_device *); |
174 | static struct net_device_stats *ni52_get_stats(struct net_device *dev); | 174 | static struct net_device_stats *ni52_get_stats(struct net_device *dev); |
175 | static void set_multicast_list(struct net_device *dev); | 175 | static void set_multicast_list(struct net_device *dev); |
176 | static void ni52_timeout(struct net_device *dev); | 176 | static void ni52_timeout(struct net_device *dev); |
@@ -1173,7 +1173,8 @@ static void ni52_timeout(struct net_device *dev) | |||
1173 | * send frame | 1173 | * send frame |
1174 | */ | 1174 | */ |
1175 | 1175 | ||
1176 | static int ni52_send_packet(struct sk_buff *skb, struct net_device *dev) | 1176 | static netdev_tx_t ni52_send_packet(struct sk_buff *skb, |
1177 | struct net_device *dev) | ||
1177 | { | 1178 | { |
1178 | int len, i; | 1179 | int len, i; |
1179 | #ifndef NO_NOPCOMMANDS | 1180 | #ifndef NO_NOPCOMMANDS |