summaryrefslogtreecommitdiff
path: root/net/dsa/port.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 15:55:46 +0200
committerJakub Kicinski <kuba@kernel.org>2022-11-22 20:41:49 -0800
commit09f92341681a23346c456938bcb2670de2cd99d4 (patch)
treeaae7cdaa6ffd5804e3ac3702c35e805675951acd /net/dsa/port.c
parent94ef6fad3bf317b43cdc59ba171dff2486e59975 (diff)
net: dsa: move headers exported by slave.c to slave.h
Minimize the use of the bloated dsa_priv.h by moving the prototypes exported by slave.c to their own header file. This is just approximate to get the code structure right. There are some interdependencies with static inline code left in dsa_priv.h, so leave slave.h included from there for now. 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/port.c')
-rw-r--r--net/dsa/port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/port.c b/net/dsa/port.c
index 0708fe8d4736..56728242f079 100644
--- a/net/dsa/port.c
+++ b/net/dsa/port.c
@@ -14,6 +14,7 @@
#include "dsa_priv.h"
#include "port.h"
+#include "slave.h"
/**
* dsa_port_notify - Notify the switching fabric of changes to a port