net: dsa: move headers exported by master.c to master.h
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 21 Nov 2022 13:55:45 +0000 (15:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 04:41:49 +0000 (20:41 -0800)
commit94ef6fad3bf317b43cdc59ba171dff2486e59975
treec700920430d11ec6f2b9e39e88d1a1b39f33329b
parent022bba63c3ca02fc074c68b4e7b949bddcf320d6
net: dsa: move headers exported by c to master.h

Minimize the use of the bloated dsa_priv.h by moving the prototypes
exported by master.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/master.h [new file with mode: 0644]
net/dsa/slave.c