From: Linus Probert Date: Mon, 27 Apr 2026 17:38:51 +0000 (+0200) Subject: staging: rtl8723bs: add function definition arg names to rtw_btcoex.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e045a83f980a9c07461590041a65a28e784014c0;p=thirdparty%2Fkernel%2Flinux.git staging: rtl8723bs: add function definition arg names to rtw_btcoex.h Adds function definition argument names to rtw_btcoex.h in order to conform to kernel code style. This eliminates warnings generated by checkpatch.pl. In all cases it's the 'struct adapter *' argument which has been given the name 'padapter'. This matches the names used in the implementations of these functions. Signed-off-by: Linus Probert Reviewed-by: Luka Gejak Link: https://patch.msgid.link/20260427173857.585742-3-linus.probert@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_btcoex.h b/drivers/staging/rtl8723bs/include/rtw_btcoex.h index 5554118bbe362..df939b20867b8 100644 --- a/drivers/staging/rtl8723bs/include/rtw_btcoex.h +++ b/drivers/staging/rtl8723bs/include/rtw_btcoex.h @@ -14,14 +14,14 @@ #define PACKET_ARP 2 #define PACKET_EAPOL 3 -void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus); -void rtw_btcoex_HaltNotify(struct adapter *); +void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus); +void rtw_btcoex_HaltNotify(struct adapter *padapter); /* ================================================== */ /* Below Functions are called by BT-Coex */ /* ================================================== */ -void rtw_btcoex_RejectApAggregatedPacket(struct adapter *, u8 enable); -void rtw_btcoex_LPS_Enter(struct adapter *); -void rtw_btcoex_LPS_Leave(struct adapter *); +void rtw_btcoex_RejectApAggregatedPacket(struct adapter *padapter, u8 enable); +void rtw_btcoex_LPS_Enter(struct adapter *padapter); +void rtw_btcoex_LPS_Leave(struct adapter *padapter); #endif /* __RTW_BTCOEX_H__ */