netdevice: Support DSA tagging when DSA is built as a module
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 13 Sep 2014 06:12:46 +0000 (23:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 21:37:15 +0000 (17:37 -0400)
commit3fc8867740b4a0bf56f372c6f5ddd14970962fb1
tree1fab7c33ce22cff7aff0f47f300f646b6f6cd171
parent5879823fc66decc1c0416cad6cd506adbbda6a7f
netdevice: Support DSA tagging when DSA is built as a module

This change corrects an error seen when DSA tagging is built as a module.
Without this change it is not possible to get XDSA tagged frames as the
test for tagging is stripped by the #ifdef check.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h