net: fec: enable regulator for fec phy
authorShawn Guo <shawn.guo@linaro.org>
Wed, 27 Jun 2012 03:45:21 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:22:05 +0000 (21:22 -0700)
commit5fa9c0fe3ec0a008352d4a4fb8d972a437183404
tree576bb2ec1ab0a6cd26cf170785f33b230b0db61e
parent2ca9b2aa0d5a43e954789e0da675a826b83932b7
net: fec: enable regulator for fec phy

If bootloader or platform initialization code does not enable the
power supply to fec phy, we need to do it in fec driver before calling
fec_reset_phy to have the phy powered on.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c