diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-21 15:55:44 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-22 20:41:48 -0800 |
commit | 022bba63c3ca02fc074c68b4e7b949bddcf320d6 (patch) | |
tree | 51535d93b6006f0c7d82cc9944befe196d3b31ce /net/dsa/port.c | |
parent | 7aea535d40eaba97cb116ba2b30ecd897eee0f43 (diff) | |
download | lwn-022bba63c3ca02fc074c68b4e7b949bddcf320d6.tar.gz lwn-022bba63c3ca02fc074c68b4e7b949bddcf320d6.zip |
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.c | 1 |
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 |