From 9d0481748cfc0585daff0e89a947e34c785c2ef2 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Sun, 17 Dec 2023 20:56:45 +0100 Subject: [PATCH] [RTL8852BU] Update for upstream change 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 --- drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c b/drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c index 87fe3b82611dc..49822a1483736 100755 --- a/drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c +++ b/drivers/staging/rtl8852bu/os_dep/linux/os_intfs.c @@ -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;