From 4fdd9a7c32f497aa86c0480ae9e66d840773d5bf Mon Sep 17 00:00:00 2001 From: Zhao Qiang Date: Mon, 31 Mar 2014 16:12:35 +0800 Subject: net/phy: add PM for ar8033 add suspend and resume functions for ar8033 Signed-off-by: Zhao Qiang Change-Id: I7e3817ae3addff45901d8ef96c3c98d0c9eef56e Reviewed-on: http://git.am.freescale.net:8181/10508 Tested-by: Review Code-CDREVIEW Reviewed-by: Xiaobo Xie Reviewed-by: Jose Rivera diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 5124d3e..9fa4a8a 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -243,6 +243,8 @@ static struct phy_driver at803x_driver[] = { .name = "Atheros 8033 ethernet", .phy_id_mask = 0xffffffef, .config_init = at803x_config_init, + .suspend = at803x_suspend, + .resume = at803x_resume, .features = PHY_GBIT_FEATURES, .flags = PHY_HAS_INTERRUPT, .config_aneg = &genphy_config_aneg, -- cgit v0.10.2