]> err.no Git - linux-2.6/commit
[NET]: netdevice.h: be'ify packet_type
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 23 May 2005 20:09:19 +0000 (13:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2005 20:09:19 +0000 (13:09 -0700)
commit205902ecc7bcb2a007ed27bb3518e8f70e5d113e
treef2730d9ea3ce1a2cf85619f3f7077bedb6ec19ab
parentd8659255c599ba497bcfb8b4abc187d9e0951d99
[NET]: netdevice.h: be'ify packet_type

Everybody does

struct packet_type foo_packet_type = {
.type = __constant_htons(ETH_P_FOO);
};

5 introduced warnings will be properly fixed later.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h