]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: ethernet: mtk_eth_soc: fix kernel-doc comment
authorDaniel Golle <daniel@makrotopia.org>
Wed, 2 Jul 2025 13:14:39 +0000 (14:14 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 01:50:45 +0000 (18:50 -0700)
Fix and add some missing field descriptions to kernel-doc comment of
struct mtk_eth.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/748e7de848e45ecdc84fbb78e34e9e13b9aa4329.1751461762.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.h

index 9261c0e13b592a5feaddb2fd9f40e9df53d9d748..1ad9075a9b691eab31a80ddd9c025411a8213198 100644 (file)
@@ -1243,8 +1243,9 @@ struct mtk_soc_data {
 /* struct mtk_eth -    This is the main datasructure for holding the state
  *                     of the driver
  * @dev:               The device pointer
- * @dev:               The device pointer used for dma mapping/alloc
+ * @dma_dev:           The device pointer used for dma mapping/alloc
  * @base:              The mapped register i/o base
+ * @sram_base:         The mapped SRAM base
  * @page_lock:         Make sure that register operations are atomic
  * @tx_irq__lock:      Make sure that IRQ register operations are atomic
  * @rx_irq__lock:      Make sure that IRQ register operations are atomic