summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mscc/Makefile
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-09-08 19:48:08 +0300
committerDavid S. Miller <davem@davemloft.net>2022-09-09 12:59:12 +0300
commitfe90104cd6048364db821c06bcb2246074919c04 (patch)
tree9e2ce7f4718c66ecfc8badf920defdd59d23c519 /drivers/net/ethernet/mscc/Makefile
parent28c8df8d478580edd3fa82b60b341930905b7431 (diff)
downloadlinux-fe90104cd6048364db821c06bcb2246074919c04.tar.xz
net: mscc: ocelot: move stats code to ocelot_stats.c
The main C file of the ocelot switch lib, ocelot.c, is getting larger and larger, and there are plans to add more logic related to stats. So it seems like an appropriate moment to split the statistics code to a new file. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc/Makefile')
-rw-r--r--drivers/net/ethernet/mscc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mscc/Makefile b/drivers/net/ethernet/mscc/Makefile
index e8427d3b41e4..5d435a565d4c 100644
--- a/drivers/net/ethernet/mscc/Makefile
+++ b/drivers/net/ethernet/mscc/Makefile
@@ -7,6 +7,7 @@ mscc_ocelot_switch_lib-y := \
ocelot_io.o \
ocelot_police.o \
ocelot_ptp.o \
+ ocelot_stats.o \
ocelot_vcap.o \
vsc7514_regs.o
mscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o