net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / 8021q / vlan.c
index 41e8f65bd3f0f6ea0a121ad4bc48f68ffd569a61..4163ea65bf4152c40d29f978f4e75f7fbe6e10dc 100644 (file)
@@ -52,7 +52,7 @@ static const char vlan_copyright[] = "Ben Greear <greearb@candelatech.com>";
 static const char vlan_buggyright[] = "David S. Miller <davem@redhat.com>";
 
 static struct packet_type vlan_packet_type = {
-       .type = __constant_htons(ETH_P_8021Q),
+       .type = cpu_to_be16(ETH_P_8021Q),
        .func = vlan_skb_recv, /* VLAN receive method */
 };
 
This page took 0.032483 seconds and 5 git commands to generate.