projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md: always set MD_RECOVERY_INTR when aborting a reshape or other "resync".
[cascardo/linux.git]
/
net
/
dsa
/
dsa.c
diff --git
a/net/dsa/dsa.c
b/net/dsa/dsa.c
index
0eb5d5e
..
5db37ce
100644
(file)
--- a/
net/dsa/dsa.c
+++ b/
net/dsa/dsa.c
@@
-406,8
+406,9
@@
static int dsa_of_probe(struct platform_device *pdev)
goto out_free;
}
- chip_index =
0
;
+ chip_index =
-1
;
for_each_available_child_of_node(np, child) {
+ chip_index++;
cd = &pd->chip[chip_index];
cd->mii_bus = &mdio_bus->dev;