summaryrefslogtreecommitdiff
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-01-06 20:11:21 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-07 14:31:27 -0500
commitbc87922ff59d364a33e9bce0febdef21a7fbd2af (patch)
treec7179d7f4969f2006e81cd7512c5d0aac8392de2 /include/linux/mdio.h
parent0071f56e46dadb88dc3ad1f8d9cf9c3ae014735d (diff)
phy: Move PHY PM operations into phy_device
The MDIO PM operations are really PHY device PM operations. So move them into phy_device. This will be needed when we support devices on the mdio bus which are not PHYs. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mdio.h')
-rw-r--r--include/linux/mdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index 8cd9579e18ea..9f844d372ed5 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -15,7 +15,7 @@ struct mii_bus;
struct mdio_device {
struct device dev;
-
+ const struct dev_pm_ops *pm_ops;
struct mii_bus *bus;
/* Bus address of the MDIO device (0-31) */
int addr;