diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-06-20 18:43:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-21 03:25:23 +0300 |
commit | d9feb9049973332de0242a08248e069113bf5761 (patch) | |
tree | 4d4e779b01558b1a5a6adc95598a120a919ea891 /drivers/net/ethernet/mscc/Makefile | |
parent | 14addfb6356b738269d36eb3204cc4fedd09760a (diff) | |
download | linux-d9feb9049973332de0242a08248e069113bf5761.tar.xz |
net: mscc: ocelot: move ocelot_regs.c into ocelot_vsc7514.c
ocelot_regs.c actually shouldn't be part of the common library. It
describes the register map of the VSC7514 switch. The way ocelot
switches work, they'll have highly optimized register maps, so another
SoC will likely have the same registers but laid out completely
different in memory (so there's little room for reusing this structure).
So move it to ocelot_vsc7514.c instead.
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, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mscc/Makefile b/drivers/net/ethernet/mscc/Makefile index c6d372b6dc3f..5d0b6c1da3a0 100644 --- a/drivers/net/ethernet/mscc/Makefile +++ b/drivers/net/ethernet/mscc/Makefile @@ -3,7 +3,6 @@ obj-$(CONFIG_MSCC_OCELOT_SWITCH_LIB) += mscc_ocelot_switch_lib.o mscc_ocelot_switch_lib-y := \ ocelot.o \ ocelot_io.o \ - ocelot_regs.o \ ocelot_tc.o \ ocelot_police.o \ ocelot_ace.o \ |