diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-06 19:07:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-08 12:33:57 +0200 |
commit | 6f83cb8cbfbfc2f26c644dba98992356a74aec4c (patch) | |
tree | eb88fda00790024bd1dfc61db670cd9f638b7f48 /drivers/net/wan/ixp4xx_hss.c | |
parent | net: virtio: switch to netif_napi_add_weight() (diff) | |
download | linux-6f83cb8cbfbfc2f26c644dba98992356a74aec4c.tar.xz linux-6f83cb8cbfbfc2f26c644dba98992356a74aec4c.zip |
net: wan: switch to netif_napi_add_weight()
A handful of WAN drivers use custom napi weights,
switch them to the new API.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/ixp4xx_hss.c')
-rw-r--r-- | drivers/net/wan/ixp4xx_hss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c index 863c3e34e136..e46b7f5ee49e 100644 --- a/drivers/net/wan/ixp4xx_hss.c +++ b/drivers/net/wan/ixp4xx_hss.c @@ -1504,7 +1504,7 @@ static int ixp4xx_hss_probe(struct platform_device *pdev) port->clock_reg = CLK42X_SPEED_2048KHZ; port->id = pdev->id; port->dev = &pdev->dev; - netif_napi_add(ndev, &port->napi, hss_hdlc_poll, NAPI_WEIGHT); + netif_napi_add_weight(ndev, &port->napi, hss_hdlc_poll, NAPI_WEIGHT); err = register_hdlc_device(ndev); if (err) |