diff options
author | James Morris <jmorris@namei.org> | 2009-09-29 17:47:33 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-09-29 17:47:33 -0400 |
commit | 1669b049db50fc7f1d4e694fb115a0f408c63fce (patch) | |
tree | 9b3b90b5cbff9b8f30ecf0b2a44896ce8bef0c20 /drivers/char/synclinkmp.c | |
parent | 7f366784f5c2b8fc0658b5b374f4c63ee42c789f (diff) | |
parent | 17d857be649a21ca90008c6dc425d849fa83db5c (diff) |
Merge branch 'master' into next
Diffstat (limited to 'drivers/char/synclinkmp.c')
-rw-r--r-- | drivers/char/synclinkmp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 8d4a2a8a0a70..2b18adc4ee19 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -1608,10 +1608,9 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, | |||
1608 | * | 1608 | * |
1609 | * skb socket buffer containing HDLC frame | 1609 | * skb socket buffer containing HDLC frame |
1610 | * dev pointer to network device structure | 1610 | * dev pointer to network device structure |
1611 | * | ||
1612 | * returns 0 if success, otherwise error code | ||
1613 | */ | 1611 | */ |
1614 | static int hdlcdev_xmit(struct sk_buff *skb, struct net_device *dev) | 1612 | static netdev_tx_t hdlcdev_xmit(struct sk_buff *skb, |
1613 | struct net_device *dev) | ||
1615 | { | 1614 | { |
1616 | SLMP_INFO *info = dev_to_port(dev); | 1615 | SLMP_INFO *info = dev_to_port(dev); |
1617 | unsigned long flags; | 1616 | unsigned long flags; |
@@ -1642,7 +1641,7 @@ static int hdlcdev_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1642 | tx_start(info); | 1641 | tx_start(info); |
1643 | spin_unlock_irqrestore(&info->lock,flags); | 1642 | spin_unlock_irqrestore(&info->lock,flags); |
1644 | 1643 | ||
1645 | return 0; | 1644 | return NETDEV_TX_OK; |
1646 | } | 1645 | } |
1647 | 1646 | ||
1648 | /** | 1647 | /** |