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:
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;
|
||||
|
|
Loading…
Reference in New Issue