net: replace uses of __constant_{endian}
[deliverable/linux.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,
 };
 
This page took 0.02756 seconds and 5 git commands to generate.