net/dsa/dsa.c: increment chip_index during of_node handling on dsa_of_probe()
authorFabian Godehardt <fg@emlix.com>
Fri, 16 May 2014 04:21:44 +0000 (06:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:56:33 +0000 (16:56 -0400)
commitd1c0b471b340f43fa857d19150e029257d7bb475
tree7470d92c8bf68f084a4b9e214b704bcc579c8cc0
parent2e47b291953c35afa4e20a65475954c1a1b9afe1
net/dsa/dsa.c: increment chip_index during of_node handling on dsa_of_probe()

Adding more than one chip on device-tree currently causes the probing
routine to always use the first chips data pointer.

Signed-off-by: Fabian Godehardt <fg@emlix.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c