diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-08 18:48:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-09 11:59:12 +0200 |
commit | fe90104cd6048364db821c06bcb2246074919c04 (patch) | |
tree | 9e2ce7f4718c66ecfc8badf920defdd59d23c519 /drivers/net/ethernet/mscc/Makefile | |
parent | net: mscc: ocelot: sort Makefile files alphabetically (diff) | |
download | linux-fe90104cd6048364db821c06bcb2246074919c04.tar.xz linux-fe90104cd6048364db821c06bcb2246074919c04.zip |
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/Makefile | 1 |
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 |