net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / dsa / tag_trailer.c
index b59132878ad1c45ce54271213d5b4909d5113809..d7e7f424ff0c4a09c6bccb8cdff5fbbe556e687e 100644 (file)
@@ -112,7 +112,7 @@ out:
 }
 
 static struct packet_type trailer_packet_type = {
-       .type   = __constant_htons(ETH_P_TRAILER),
+       .type   = cpu_to_be16(ETH_P_TRAILER),
        .func   = trailer_rcv,
 };
 
This page took 0.050325 seconds and 5 git commands to generate.