projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa9e28
)
net: ethernet: ti: cpsw: correct ale dev to cpsw
author
Ivan Khoronzhuk
<ivan.khoronzhuk@linaro.org>
Wed, 15 Feb 2017 17:45:02 +0000
(19:45 +0200)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Feb 2017 16:12:32 +0000
(11:12 -0500)
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>
drivers/net/ethernet/ti/cpsw.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/cpsw.c
b/drivers/net/ethernet/ti/cpsw.c
index 10f6f7496f50f5bfce46656cd6b3abbc3fbc0d98..9f3d9c67e3fe0f50b2d1119e74b7eac4b93e8bae 100644
(file)
--- 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 = &
n
dev->dev;
+ ale_params.dev = &
p
dev->dev;
ale_params.ale_ageout = ale_ageout;
ale_params.ale_entries = data->ale_entries;
ale_params.ale_ports = data->slaves;