]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/dsa/tag_edsa.c
net: replace uses of __constant_{endian}
[net-next-2.6.git] / net / dsa / tag_edsa.c
index 328ec957f7864a670ce7ad841ae43010fa2d2e35..6197f9a7ef421f7eec701f8a61defdbb11bcbbdb 100644 (file)
@@ -195,7 +195,7 @@ out:
 }
 
 static struct packet_type edsa_packet_type = {
-       .type   = __constant_htons(ETH_P_EDSA),
+       .type   = cpu_to_be16(ETH_P_EDSA),
        .func   = edsa_rcv,
 };