summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Yang <leoyang.li@nxp.com>2023-08-02 14:13:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-16 18:21:02 +0200
commitb564f32fb369c7cc4500c544685b27c17fda48fc (patch)
tree83f6b61a6b039b0b1a040dc19df67999503aeec1
parent0d3573811894640d60c5b6c9c2f4a8cb2382f720 (diff)
downloadlinux-b564f32fb369c7cc4500c544685b27c17fda48fc.tar.gz
linux-b564f32fb369c7cc4500c544685b27c17fda48fc.tar.bz2
linux-b564f32fb369c7cc4500c544685b27c17fda48fc.zip
net: phy: at803x: remove set/get wol callbacks for AR8032
commit d7791cec2304aea22eb2ada944e4d467302f5bfe upstream. Since the AR8032 part does not support wol, remove related callbacks from it. Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY") Signed-off-by: Li Yang <leoyang.li@nxp.com> Cc: David Bauer <mail@david-bauer.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/phy/at803x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index ed601a7e46a0..ac373510b486 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -1115,8 +1115,6 @@ static struct phy_driver at803x_driver[] = {
.flags = PHY_POLL_CABLE_TEST,
.config_init = at803x_config_init,
.link_change_notify = at803x_link_change_notify,
- .set_wol = at803x_set_wol,
- .get_wol = at803x_get_wol,
.suspend = at803x_suspend,
.resume = at803x_resume,
/* PHY_BASIC_FEATURES */