net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / dsa / tag_dsa.c
index f99a019b939ed7e2b15e90bcfa5be1716accd1b9..63e532a69fdb1186077d0cc6dd658f276ec59565 100644 (file)
@@ -176,7 +176,7 @@ out:
 }
 
 static struct packet_type dsa_packet_type = {
-       .type   = __constant_htons(ETH_P_DSA),
+       .type   = cpu_to_be16(ETH_P_DSA),
        .func   = dsa_rcv,
 };
 
This page took 0.02697 seconds and 5 git commands to generate.