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)
commitb5d82db83c1d0b327b599508a0830d25cc1f15db
treeb2b7ab74e1ca5257523412a7f37a9e9967a341bb
parentf564412c935111c583b787bcc18157377b208e2e
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