Skip to content

Commit

Permalink
net: ethernet: stmmac: platform: fix outdated function header
Browse files Browse the repository at this point in the history
Fix the OF-helper function header to reflect that the function no longer
has a platform-data parameter.

Fixes: b0003ea ("stmmac: make stmmac_probe_config_dt return the
platform data struct")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Johan Hovold authored and David S. Miller committed Dec 2, 2016
1 parent 5cc70bb commit 661f049
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 661f049

Please sign in to comment.