X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fdsa%2Ftag_dsa.c;h=63e532a69fdb1186077d0cc6dd658f276ec59565;hb=80bc53931bdf8284c5a95ba96d86ab6c2473a5f8;hp=f99a019b939ed7e2b15e90bcfa5be1716accd1b9;hpb=4ce5f24193cef2e26f182ce708e94ba1f5fafc0c;p=linux-2.6-omap-h63xx.git diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index f99a019b939..63e532a69fd 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa.c @@ -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, };