net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / ipv4 / arp.c
index 29a74c01d8de54857fa3ef4a82184dc8a03b91cd..3f6b7354699bb8fe8df7cb47a1ced87e9816cf06 100644 (file)
@@ -1226,7 +1226,7 @@ void arp_ifdown(struct net_device *dev)
  */
 
 static struct packet_type arp_packet_type = {
-       .type = __constant_htons(ETH_P_ARP),
+       .type = cpu_to_be16(ETH_P_ARP),
        .func = arp_rcv,
 };
 
This page took 0.030304 seconds and 5 git commands to generate.