Skip to content

Commit

Permalink
[RTL8852BU] Update for upstream change
Browse files Browse the repository at this point in the history
netif_napi_add()  => netif_napi_add_weight()
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b48b89f

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Dec 17, 2023
1 parent dd06a1c commit 9d04817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ int rtw_ndev_init(struct net_device *dev)
rtw_adapter_proc_init(dev);

#ifdef CONFIG_RTW_NAPI
netif_napi_add(dev, &adapter->napi, rtw_recv_napi_poll, RTL_NAPI_WEIGHT);
netif_napi_add_weight(dev, &adapter->napi, rtw_recv_napi_poll, RTL_NAPI_WEIGHT);
#endif /* CONFIG_RTW_NAPI */

return 0;
Expand Down

0 comments on commit 9d04817

Please sign in to comment.