Commit ab281e3b authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Declare c2h_evt_hdl static

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95b0f200
...@@ -1297,10 +1297,10 @@ u8 rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt) ...@@ -1297,10 +1297,10 @@ u8 rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt)
return res; return res;
} }
s32 c2h_evt_hdl(struct rtw_adapter *adapter, struct c2h_evt_hdr *c2h_evt, static int c2h_evt_hdl(struct rtw_adapter *adapter,
c2h_id_filter filter) struct c2h_evt_hdr *c2h_evt, c2h_id_filter filter)
{ {
s32 ret = _FAIL; int ret = _FAIL;
u8 buf[16]; u8 buf[16];
if (!c2h_evt) { if (!c2h_evt) {
......
...@@ -138,6 +138,4 @@ void _rtw_init_queue23a(struct rtw_queue *pqueue); ...@@ -138,6 +138,4 @@ void _rtw_init_queue23a(struct rtw_queue *pqueue);
#define RTW_GET_BE24(a) ((((u32) (a)[0]) << 16) | (((u32) (a)[1]) << 8) | \ #define RTW_GET_BE24(a) ((((u32) (a)[0]) << 16) | (((u32) (a)[1]) << 8) | \
((u32) (a)[2])) ((u32) (a)[2]))
s32 c2h_evt_hdl(struct rtw_adapter *adapter, struct c2h_evt_hdr *c2h_evt, c2h_id_filter filter);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment