]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/8021q/vlan.c
Merge current mainline tree into linux-omap tree
[linux-2.6-omap-h63xx.git] / net / 8021q / vlan.c
index 41e8f65bd3f0f6ea0a121ad4bc48f68ffd569a61..2b7390e377b3f3a7d6a9e92fb2cbea73d8b6d401 100644 (file)
@@ -51,8 +51,8 @@ const char vlan_version[] = DRV_VERSION;
 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),
+static struct packet_type vlan_packet_type __read_mostly = {
+       .type = cpu_to_be16(ETH_P_8021Q),
        .func = vlan_skb_recv, /* VLAN receive method */
 };