net: dsa: move headers exported by port.c to port.h
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 21 Nov 2022 13:55:44 +0000 (15:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 04:41:48 +0000 (20:41 -0800)
commit022bba63c3ca02fc074c68b4e7b949bddcf320d6
tree51535d93b6006f0c7d82cc9944befe196d3b31ce
parent7aea535d40eaba97cb116ba2b30ecd897eee0f43
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>
net/dsa/dsa2.c
net/dsa/dsa_priv.h
net/dsa/master.c
net/dsa/port.c
net/dsa/port.h [new file with mode: 0644]
net/dsa/slave.c
net/dsa/switch.c
net/dsa/tag_8021q.c