net: ethernet: mediatek: Rename NEXT_RX_DESP_IDX to NEXT_DESP_IDX
authorStefan Roese <sr@denx.de>
Fri, 16 Aug 2019 13:23:24 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 21:15:51 +0000 (14:15 -0700)
commit08df5fa63accfc1c847cc2d91be4ca698946394d
tree5888a4ee4e70836ff9da56878626cf90ff8cf00a
parent45487403e1045c1019b65930a6719fec43f986db
net: ethernet: mediatek: Rename NEXT_RX_DESP_IDX to NEXT_DESP_IDX

Rename the NEXT_RX_DESP_IDX macro to NEXT_DESP_IDX, so that it better
can be used for TX ops as well. This will be used in the upcoming
MT7628/88 support (same functionality for RX and TX in this macro).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: René van Dorst <opensource@vdorst.com>
Cc: Daniel Golle <daniel@makrotopia.org>
Cc: Sean Wang <sean.wang@mediatek.com>
Cc: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h