net: thunder: Factor out DT specific code in BGX
authorRobert Richter <rrichter@redhat.com>
Tue, 11 Aug 2015 00:58:36 +0000 (17:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 18:47:57 +0000 (11:47 -0700)
commitde387e1156c76b273529f1803c6bd87b61eac2c5
treed6ee7b6f86b0c60fe1e00c245c1f41fa50152f4c
parent07a51cd3794960548627a27aae68c1446341db32
net: thunder: Factor out DT specific code in BGX

Separate DT code in preparation for follow-on ACPI integration.

Based on code from: Tomasz Nowicki <tomasz.nowicki@linaro.org>

Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c