]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/econet/af_econet.c
USB: Add OMAP EHCI glue layer
[linux-2.6-omap-h63xx.git] / net / econet / af_econet.c
index 8789d2bb1b067fd59515a286610971a67dfebf37..6f479fa522c30c3651dfab020d10d2b6a501efc5 100644 (file)
@@ -1102,8 +1102,8 @@ drop:
        return NET_RX_DROP;
 }
 
-static struct packet_type econet_packet_type = {
-       .type =         __constant_htons(ETH_P_ECONET),
+static struct packet_type econet_packet_type __read_mostly = {
+       .type =         cpu_to_be16(ETH_P_ECONET),
        .func =         econet_rcv,
 };