]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/dsa/tag_dsa.c
iwlwifi: Fix and rework Kconfig file
[linux-2.6-omap-h63xx.git] / net / dsa / tag_dsa.c
index f99a019b939ed7e2b15e90bcfa5be1716accd1b9..63e532a69fdb1186077d0cc6dd658f276ec59565 100644 (file)
@@ -176,7 +176,7 @@ out:
 }
 
 static struct packet_type dsa_packet_type = {
-       .type   = __constant_htons(ETH_P_DSA),
+       .type   = cpu_to_be16(ETH_P_DSA),
        .func   = dsa_rcv,
 };