diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-21 14:55:44 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-23 05:41:48 +0100 |
commit | 022bba63c3ca02fc074c68b4e7b949bddcf320d6 (patch) | |
tree | 51535d93b6006f0c7d82cc9944befe196d3b31ce /net/dsa/switch.c | |
parent | net: dsa: move rest of devlink setup/teardown to devlink.c (diff) | |
download | linux-022bba63c3ca02fc074c68b4e7b949bddcf320d6.tar.xz linux-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/switch.c')
-rw-r--r-- | net/dsa/switch.c | 1 |
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) |