net: mscc: ocelot: remove unnecessary exposure of stats structures
authorColin Foster <colin.foster@in-advantage.com>
Sat, 19 Nov 2022 23:14:05 +0000 (15:14 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Nov 2022 14:36:43 +0000 (15:36 +0100)
commita3bb8f521fd8703cdb429d3e52f3e6802706c87d
tree656335817b5ef5aac2ee5e724e7f26363b9ccd86
parent33d5eeb9a684a2e962ca0be3fe557a2c9f48d8e2
net: mscc: ocelot: remove unnecessary exposure of stats structures

Since commit 4d1d157fb6a4 ("net: mscc: ocelot: share the common stat
definitions between all drivers") there is no longer a need to share the
stats structures to the world. Relocate these definitions to inside
ocelot_stats.c instead of a global include header.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mscc/ocelot_stats.c
include/soc/mscc/ocelot.h