Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533347

[PATCH net 6/7] net: ethernet: stmmac: platform: fix outdated function header

From Johan Hovold <johan@kernel.org>
Newsgroups linux.kernel
Subject [PATCH net 6/7] net: ethernet: stmmac: platform: fix outdated function header
Date 2016-11-30 15:40 +0100
Message-ID <sJedc-7iT-7@gated-at.bofh.it> (permalink)
References <sJedb-7iT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fix the OF-helper function header to reflect that the function no longer
has a platform-data parameter.

Fixes: b0003ead75f3 ("stmmac: make stmmac_probe_config_dt return the
platform data struct")
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 0a0d6a86f397..bcbf123d5ba2 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -200,7 +200,6 @@ static int stmmac_dt_phy(struct plat_stmmacenet_data *plat,
 /**
  * stmmac_probe_config_dt - parse device-tree driver parameters
  * @pdev: platform_device structure
- * @plat: driver data platform structure
  * @mac: MAC address to use
  * Description:
  * this function is to read the driver parameters from device-tree and
-- 
2.7.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH net 6/7] net: ethernet: stmmac: platform: fix outdated function header Johan Hovold <johan@kernel.org> - 2016-11-30 15:40 +0100

csiph-web