summaryrefslogtreecommitdiff
path: root/net/dsa/port.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 15:55:44 +0200
committerJakub Kicinski <kuba@kernel.org>2022-11-22 20:41:48 -0800
commit022bba63c3ca02fc074c68b4e7b949bddcf320d6 (patch)
tree51535d93b6006f0c7d82cc9944befe196d3b31ce /net/dsa/port.c
parent7aea535d40eaba97cb116ba2b30ecd897eee0f43 (diff)
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/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 707bd854cea2..0708fe8d4736 100644
--- a/net/dsa/port.c
+++ b/net/dsa/port.c
@@ -13,6 +13,7 @@
#include <linux/of_net.h>
#include "dsa_priv.h"
+#include "port.h"
/**
* dsa_port_notify - Notify the switching fabric of changes to a port