]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fec: Place the phy regulator in the private structure
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 May 2013 03:48:29 +0000 (03:48 +0000)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:19 +0000 (09:54 +0800)
commit19b7cc4b6f51dc0d1adb68020f03b1c950524f1e
tree24a3ff67a2e4290f5993a0f5ba2725aaadf2641e
parent608d5706b48a3485b377744b83135e4eebffbf0d
fec: Place the phy regulator in the private structure

Instead of using a local reg_phy structure, let's put it inside the private
structure, so that we are able to have access to the regulator structure even
when we are outside fec_probe().

This is in preparation for controlling the FEC PHY regulator in the suspend and
resume functions.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c