aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/tps65086-regulator.c
diff options
context:
space:
mode:
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>2019-10-16 09:22:05 +0100
committerDavid S. Miller <davem@davemloft.net>2019-10-17 15:31:04 -0400
commitc9ad4c1049f7e0e8d59e975963dda002af47d93e (patch)
treef15683a780517b9d3002bd6d3cfe5dc69aff57c4 /drivers/regulator/tps65086-regulator.c
parent693aa7dd124018ffa627ae7e8d78e96127e385e0 (diff)
net: stmmac: fix argument to stmmac_pcs_ctrl_ane()
The stmmac_pcs_ctrl_ane() expects a register address as argument 1, but for some reason the mac_device_info is being passed. Fix the warning (and possible bug) from sparse: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17: warning: incorrect type in argument 1 (different address spaces) drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17: expected void [noderef] <asn:2> *ioaddr drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17: got struct mac_device_info *hw Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/tps65086-regulator.c')
0 files changed, 0 insertions, 0 deletions