net: dsa: move notifier definitions to switch.h
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 21 Nov 2022 13:55:50 +0000 (15:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 04:41:52 +0000 (20:41 -0800)
commit495550a4844bb4b4d10e26a7d22e9e231adb1b84
tree9dd7c9e15c03594af4b9b3f610e5ff5ce7a5116d
parent6dbdfce7735786f9f2dd3af615c8a03ffa1246f5
net: dsa: move notifier definitions to switch.h

Reduce bloat in dsa_priv.h by moving the cross-chip notifier data
structures to switch.h.

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/switch.h