diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-21 14:55:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-23 05:41:50 +0100 |
commit | bd954b826032e7bd6be8a53e30eb81c1b348aef6 (patch) | |
tree | 5e20fa077b53917d4b2773432a9401a33562daa9 /net/dsa/master.c | |
parent | net: dsa: move headers exported by slave.c to slave.h (diff) | |
download | linux-bd954b826032e7bd6be8a53e30eb81c1b348aef6.tar.xz linux-bd954b826032e7bd6be8a53e30eb81c1b348aef6.zip |
net: dsa: move tagging protocol code to tag.{c,h}
It would be nice if tagging protocol drivers could include just the
header they need, since they are (mostly) data path and isolated from
most of the other DSA core code does.
Create a tag.c and a tag.h file which are meant to support tagging
protocol drivers.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/master.c')
-rw-r--r-- | net/dsa/master.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/master.c b/net/dsa/master.c index 6105821834a2..e38b349ca7f8 100644 --- a/net/dsa/master.c +++ b/net/dsa/master.c @@ -14,6 +14,7 @@ #include "dsa_priv.h" #include "master.h" #include "port.h" +#include "tag.h" static int dsa_master_get_regs_len(struct net_device *dev) { |