diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2017-02-15 19:45:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 11:12:32 -0500 |
commit | 9fe9aa0b7334f65755fa6e9b20cb633a09fe76f7 (patch) | |
tree | 7a9eb0bd6c34f20e064dd1af28f3781366b3258f /drivers/net | |
parent | 0fa9e2899c5d128723056d2ecc950bda7b51af20 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 10f6f7496f50..9f3d9c67e3fe 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -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; |