Message ID | 1279609954-30274-1-git-send-email-peppe.cavallaro@st.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
On Tue, 20 Jul 2010 09:12:34 +0200 Giuseppe CAVALLARO wrote: > Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> > --- > drivers/net/phy/icplus.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c > index 439adaf..3f2583f 100644 > --- a/drivers/net/phy/icplus.c > +++ b/drivers/net/phy/icplus.c > @@ -116,6 +116,8 @@ static struct phy_driver ip175c_driver = { > .config_init = &ip175c_config_init, > .config_aneg = &ip175c_config_aneg, > .read_status = &ip175c_read_status, > + .suspend = genphy_suspend, > + .resume = genphy_resume, > .driver = { .owner = THIS_MODULE,}, > }; > > -- I was wondering how that works when CONFIG_PM is disabled, but I did a build with it disabled and see that genphy_suspend and genphy_resume are always built -- even when PM is disabled. Interesting. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Giuseppe CAVALLARO <peppe.cavallaro@st.com> Date: Tue, 20 Jul 2010 09:12:34 +0200 > Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index 439adaf..3f2583f 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c @@ -116,6 +116,8 @@ static struct phy_driver ip175c_driver = { .config_init = &ip175c_config_init, .config_aneg = &ip175c_config_aneg, .read_status = &ip175c_read_status, + .suspend = genphy_suspend, + .resume = genphy_resume, .driver = { .owner = THIS_MODULE,}, };
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> --- drivers/net/phy/icplus.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)