net: replace uses of __constant_{endian}
[deliverable/linux.git] / drivers / net / ps3_gelic_net.c
index 06649d0c20988e2d464c0629e4812a92a6bd2c2e..30900b30d532e9dedf2b040a672d47d0921e6203 100644 (file)
@@ -745,7 +745,7 @@ static inline struct sk_buff *gelic_put_vlan_tag(struct sk_buff *skb,
        /* Move the mac addresses to the top of buffer */
        memmove(skb->data, skb->data + VLAN_HLEN, 2 * ETH_ALEN);
 
-       veth->h_vlan_proto = __constant_htons(ETH_P_8021Q);
+       veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q);
        veth->h_vlan_TCI = htons(tag);
 
        return skb;
This page took 0.03372 seconds and 5 git commands to generate.