net: enetc: move the CBDR API to enetc_cbdr.c
authorVladimir Oltean <olteanv@gmail.com>
Wed, 10 Mar 2021 12:03:40 +0000 (14:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 21:14:14 +0000 (13:14 -0800)
commit176769d10f96aa695786b000c9cacb13e48189f9
tree779d3fb773126cc96b81174fa8966c0e07fd0207
parente2359fad458a396df0673bc5d876f44ce700439d
net: enetc: move the CBDR API to enetc_cbdr.c

Since there is a dedicated file in this driver for interacting with
control BD rings, it makes sense to move these functions there.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc_cbdr.c