dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions
authorBen Hutchings <ben@decadent.org.uk>
Fri, 25 Nov 2011 14:32:52 +0000 (14:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:48:14 +0000 (14:48 -0500)
commitcf50dcc24f82a6dc2bce523eec2a979eb1b106e2
tree579bd064fc0ee8475ca5c8e5d5f6295b82247c3a
parent6dec4ac4ee1ad894dc0e9647cd3e180f93fc353c
dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions

eth_type_trans() will use these functions if DSA is enabled, which
blocks building DSA as a module.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/dsa.h
net/dsa/dsa.c
net/dsa/dsa_priv.h