diff options
Diffstat (limited to 'drivers/net/ethernet/realtek/8139cp.c')
-rw-r--r-- | drivers/net/ethernet/realtek/8139cp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c index 9c31e46d1eee..d79e33b3c191 100644 --- a/drivers/net/ethernet/realtek/8139cp.c +++ b/drivers/net/ethernet/realtek/8139cp.c | |||
@@ -708,8 +708,8 @@ static void cp_tx (struct cp_private *cp) | |||
708 | 708 | ||
709 | static inline u32 cp_tx_vlan_tag(struct sk_buff *skb) | 709 | static inline u32 cp_tx_vlan_tag(struct sk_buff *skb) |
710 | { | 710 | { |
711 | return vlan_tx_tag_present(skb) ? | 711 | return skb_vlan_tag_present(skb) ? |
712 | TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00; | 712 | TxVlanTag | swab16(skb_vlan_tag_get(skb)) : 0x00; |
713 | } | 713 | } |
714 | 714 | ||
715 | static void unwind_tx_frag_mapping(struct cp_private *cp, struct sk_buff *skb, | 715 | static void unwind_tx_frag_mapping(struct cp_private *cp, struct sk_buff *skb, |