net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / decnet / dn_route.c
index c754670b7fca4e98376fdb22657efb5e3e5613d6..5130dee0b384023911306aaf29da23aab1a1dc30 100644 (file)
@@ -124,7 +124,7 @@ int decnet_dst_gc_interval = 2;
 
 static struct dst_ops dn_dst_ops = {
        .family =               PF_DECnet,
-       .protocol =             __constant_htons(ETH_P_DNA_RT),
+       .protocol =             cpu_to_be16(ETH_P_DNA_RT),
        .gc_thresh =            128,
        .gc =                   dn_dst_gc,
        .check =                dn_dst_check,
This page took 0.028355 seconds and 5 git commands to generate.