net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / econet / af_econet.c
index 8789d2bb1b067fd59515a286610971a67dfebf37..7bf35582f65643f97e959b290a77bc66f2b88538 100644 (file)
@@ -1103,7 +1103,7 @@ drop:
 }
 
 static struct packet_type econet_packet_type = {
-       .type =         __constant_htons(ETH_P_ECONET),
+       .type =         cpu_to_be16(ETH_P_ECONET),
        .func =         econet_rcv,
 };
 
This page took 0.025009 seconds and 5 git commands to generate.