[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_DCCF5160376D4BCFA435D41FF333627BDF06@qq.com>
Date: Wed, 8 Jan 2025 14:12:38 +0000
From: Yeking@...54.com
To: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: wellslutw@...il.com,
andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
谢致邦 (XIE Zhibang) <Yeking@...54.com>
Subject: [PATCH] net: ethernet: sunplus: Switch to ndo_eth_ioctl
From: 谢致邦 (XIE Zhibang) <Yeking@...54.com>
ndo_do_ioctl is no longer called by the device ioctl handler,
so use ndo_eth_ioctl instead.
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@...54.com>
---
drivers/net/ethernet/sunplus/spl2sw_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/sunplus/spl2sw_driver.c b/drivers/net/ethernet/sunplus/spl2sw_driver.c
index 721d8ed3f302..5e0e4c9ecbb0 100644
--- a/drivers/net/ethernet/sunplus/spl2sw_driver.c
+++ b/drivers/net/ethernet/sunplus/spl2sw_driver.c
@@ -199,7 +199,7 @@ static const struct net_device_ops netdev_ops = {
.ndo_start_xmit = spl2sw_ethernet_start_xmit,
.ndo_set_rx_mode = spl2sw_ethernet_set_rx_mode,
.ndo_set_mac_address = spl2sw_ethernet_set_mac_address,
- .ndo_do_ioctl = phy_do_ioctl,
+ .ndo_eth_ioctl = phy_do_ioctl,
.ndo_tx_timeout = spl2sw_ethernet_tx_timeout,
};
--
2.43.0
Powered by blists - more mailing lists