]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: phy: at803x: remove set/get wol callbacks for AR8032
authorLi Yang <leoyang.li@nxp.com>
Wed, 2 Aug 2023 19:13:47 +0000 (14:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Aug 2023 09:00:17 +0000 (10:00 +0100)
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>
drivers/net/phy/at803x.c

index 9c2c2e2ee94b088f72343c03ce360e38263d21f4..8a77ec33b4172ca2acd2029f65664d8480f58fd2 100644 (file)
@@ -2064,8 +2064,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 */