net: replace uses of __constant_{endian}
[deliverable/linux.git] / net / dsa / mv88e6131.c
index 374d46a01265a334901bc652c57b939a419ddfaf..70fae2444cb65e64828e07bcbd9aef5bf35f2b65 100644 (file)
@@ -353,7 +353,7 @@ static int mv88e6131_get_sset_count(struct dsa_switch *ds)
 }
 
 static struct dsa_switch_driver mv88e6131_switch_driver = {
-       .tag_protocol           = __constant_htons(ETH_P_DSA),
+       .tag_protocol           = cpu_to_be16(ETH_P_DSA),
        .priv_size              = sizeof(struct mv88e6xxx_priv_state),
        .probe                  = mv88e6131_probe,
        .setup                  = mv88e6131_setup,
This page took 0.036509 seconds and 5 git commands to generate.