]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit377b7863cd029318fd6a5e6d87e5ebe9845cde07
tree7470d92c8bf68f084a4b9e214b704bcc579c8cc0
parent8275fc40c217cf59565173b52ab1dd9d19b2ff00
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