summaryrefslogtreecommitdiff
path: root/net/dsa/port.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 15:55:48 +0200
committerJakub Kicinski <kuba@kernel.org>2022-11-22 20:41:51 -0800
commit0c603136e1e0868fb5325c3b2addc669a10ed384 (patch)
treed26685177c3d4cd44b2286f4004a71d4c3dedd5b /net/dsa/port.c
parentbd954b826032e7bd6be8a53e30eb81c1b348aef6 (diff)
net: dsa: move headers exported by switch.c to switch.h
Reduce code bloat in dsa_priv.h by moving the prototypes exported by switch.h into 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/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 56728242f079..bf2c98215021 100644
--- a/net/dsa/port.c
+++ b/net/dsa/port.c
@@ -15,6 +15,7 @@
#include "dsa_priv.h"
#include "port.h"
#include "slave.h"
+#include "switch.h"
/**
* dsa_port_notify - Notify the switching fabric of changes to a port