]> git.baikalelectronics.ru Git - kernel.git/commit
net: mv643xx_eth: fix missing device_node for port devices
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 2 Oct 2013 10:57:22 +0000 (12:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2013 21:11:37 +0000 (17:11 -0400)
commit76ac6d5949333c01910edeff3f82f6cccb6e4697
treeb2b7ab74e1ca5257523412a7f37a9e9967a341bb
parent7b47eb89551a1070541f6f397837becfc8dbd2ee
net: mv643xx_eth: fix missing device_node for port devices

DT-based mv643xx_eth probes and creates platform_devices for the
port devices on its own. To allow fixups for ports based on the
device_node, we need to set .of_node of the corresponding device
with the correct node.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c