commit | 09640e6365c679b5642b1c41b6d7078f51689ddf | [log] [tgz] |
---|---|---|
author | Harvey Harrison <harvey.harrison@gmail.com> | Sun Feb 01 00:45:17 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 01 00:45:17 2009 -0800 |
tree | a2b80c153bd23fe59db8c6994fda29923819fcea | |
parent | ee437770c42088b9b653e8b3bf28a61fa647f84e [diff] [blame] |
net: replace uses of __constant_{endian} Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index f99a019..63e532a 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa.c
@@ -176,7 +176,7 @@ } static struct packet_type dsa_packet_type = { - .type = __constant_htons(ETH_P_DSA), + .type = cpu_to_be16(ETH_P_DSA), .func = dsa_rcv, };