Skip to content

Commit 661f049

Browse files
jhovolddavem330
authored andcommitted
net: ethernet: stmmac: platform: fix outdated function header
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5cc70bb commit 661f049

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ static int stmmac_dt_phy(struct plat_stmmacenet_data *plat,
200200
/**
201201
* stmmac_probe_config_dt - parse device-tree driver parameters
202202
* @pdev: platform_device structure
203-
* @plat: driver data platform structure
204203
* @mac: MAC address to use
205204
* Description:
206205
* this function is to read the driver parameters from device-tree and

0 commit comments

Comments
 (0)