summaryrefslogtreecommitdiff
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 16:55:44 +0300
committerJakub Kicinski <kuba@kernel.org>2022-11-23 07:41:48 +0300
commit022bba63c3ca02fc074c68b4e7b949bddcf320d6 (patch)
tree51535d93b6006f0c7d82cc9944befe196d3b31ce /net/dsa/switch.c
parent7aea535d40eaba97cb116ba2b30ecd897eee0f43 (diff)
downloadlinux-022bba63c3ca02fc074c68b4e7b949bddcf320d6.tar.xz
net: dsa: move headers exported by port.c to port.h
Minimize the use of the bloated dsa_priv.h by moving the prototypes exported by port.c to their own header file. 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/switch.c')
-rw-r--r--net/dsa/switch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/switch.c b/net/dsa/switch.c
index ce56acdba203..5ece5c5c2acf 100644
--- a/net/dsa/switch.c
+++ b/net/dsa/switch.c
@@ -13,6 +13,7 @@
#include <net/switchdev.h>
#include "dsa_priv.h"
+#include "port.h"
static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds,
unsigned int ageing_time)