summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2023-09-18 12:29:07 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-09-19 18:27:55 +0200
commitbafd764a8baa87e19e6beeaa58eb85fcbbdd6b20 (patch)
treef46eb064db554ca2b7e20da591039c45dc016589 /include/linux
parent7d5a72733b211e020455cd45d63b85352b72c678 (diff)
downloadlinux-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.tar.gz
linux-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.tar.bz2
linux-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.zip
net: ethernet: mtk_wed: rename mtk_rxbm_desc in mtk_wed_bm_desc
Rename mtk_rxbm_desc structure in mtk_wed_bm_desc since it will be used even on tx side by MT7988 SoC. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/soc/mediatek/mtk_wed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/soc/mediatek/mtk_wed.h b/include/linux/soc/mediatek/mtk_wed.h
index b2b28180dff7..c6512c216b27 100644
--- a/include/linux/soc/mediatek/mtk_wed.h
+++ b/include/linux/soc/mediatek/mtk_wed.h
@@ -45,7 +45,7 @@ enum mtk_wed_wo_cmd {
MTK_WED_WO_CMD_WED_END
};
-struct mtk_rxbm_desc {
+struct mtk_wed_bm_desc {
__le32 buf0;
__le32 token;
} __packed __aligned(4);
@@ -104,7 +104,7 @@ struct mtk_wed_device {
struct {
int size;
- struct mtk_rxbm_desc *desc;
+ struct mtk_wed_bm_desc *desc;
dma_addr_t desc_phys;
} rx_buf_ring;