net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / ipv6 / af_inet6.c
index bd91eadcbe3fc8fb36295d9acda2871c2b35ce01..fa2ac7ee662fa3de8bc162ca2a2429b2dcebde28 100644 (file)
@@ -890,7 +890,7 @@ out_unlock:
 }
 
 static struct packet_type ipv6_packet_type = {
-       .type = __constant_htons(ETH_P_IPV6),
+       .type = cpu_to_be16(ETH_P_IPV6),
        .func = ipv6_rcv,
        .gso_send_check = ipv6_gso_send_check,
        .gso_segment = ipv6_gso_segment,
This page took 0.028418 seconds and 5 git commands to generate.