net: dsa: move definitions from dsa_priv.h to slave.c
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 21 Nov 2022 13:55:53 +0000 (15:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 04:41:53 +0000 (20:41 -0800)
commit8e396fec21469610e6f1efb6ae8324e72ae8e135
treee942d347345344249ad3609f95764a1cfd5f49a3
parent47d2ce03dcfb6b7f0373aac6c667715d94caba78
net: dsa: move definitions from dsa_priv.h to slave.c

There are some definitions in dsa_priv.h which are only used from
slave.c. So move them to slave.c.

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/dsa_priv.h
net/dsa/slave.c