mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
net: ethernet: ti: cpsw: correct ale dev to cpsw
The ale is a property of cpsw, so change dev to cpsw->dev, aka pdev->dev, to be consistent. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0fa9e2899c
commit
9fe9aa0b73
@@ -3032,7 +3032,7 @@ static int cpsw_probe(struct platform_device *pdev)
|
||||
goto clean_dma_ret;
|
||||
}
|
||||
|
||||
ale_params.dev = &ndev->dev;
|
||||
ale_params.dev = &pdev->dev;
|
||||
ale_params.ale_ageout = ale_ageout;
|
||||
ale_params.ale_entries = data->ale_entries;
|
||||
ale_params.ale_ports = data->slaves;
|
||||
|
||||
Reference in New Issue
Block a user