summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/yam.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-31 19:50:43 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-01 01:13:12 -0700
commit36e4d64a82d9a91a73a2b9b32117aedfe2211fb3 (patch)
tree67996382bbbd97503c65680ee6fa4d7520156d4f /drivers/net/hamradio/yam.c
parent3c805a22a3a178fc5aaadd518afa5358b78bf69e (diff)
downloadop-kernel-dev-36e4d64a82d9a91a73a2b9b32117aedfe2211fb3.zip
op-kernel-dev-36e4d64a82d9a91a73a2b9b32117aedfe2211fb3.tar.gz
convert hamradio drivers to netdev_txreturnt_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio/yam.c')
-rw-r--r--drivers/net/hamradio/yam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index b85aa16..694132e 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -594,7 +594,8 @@ static void ptt_off(struct net_device *dev)
outb(PTT_OFF, MCR(dev->base_addr));
}
-static int yam_send_packet(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t yam_send_packet(struct sk_buff *skb,
+ struct net_device *dev)
{
struct yam_port *yp = netdev_priv(dev);
OpenPOWER on IntegriCloud