summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2018-07-13 11:50:15 +0000
committerDavid S. Miller <davem@davemloft.net>2018-07-16 13:42:44 -0700
commit014dd7684e75730fa8d25bc7583534db141e5ded (patch)
tree5aeac834d507633b1726e9a4d4253e0d8ef0f166 /drivers
parent56c266dcfa0c3290d73b1fd5dc736aaa7d23e3ef (diff)
downloadlinux-stable-014dd7684e75730fa8d25bc7583534db141e5ded.tar.gz
linux-stable-014dd7684e75730fa8d25bc7583534db141e5ded.tar.bz2
linux-stable-014dd7684e75730fa8d25bc7583534db141e5ded.zip
net: ethernet: stmmac: fix documentation warning
This patch remove the following documentation warning drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:103: warning: Excess function parameter 'priv' description in 'stmmac_axi_setup' It was introduced in commit afea03656add7 ("stmmac: rework DMA bus setting and introduce new platform AXI structure") Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 6d141f3931eb..72da77b94ecd 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -94,7 +94,6 @@ static int dwmac1000_validate_ucast_entries(int ucast_entries)
/**
* stmmac_axi_setup - parse DT parameters for programming the AXI register
* @pdev: platform device
- * @priv: driver private struct.
* Description:
* if required, from device-tree the AXI internal register can be tuned
* by using platform parameters.