提交 f99ca866 编写于 作者: A Amitoj Kaur Chawla 提交者: Greg Kroah-Hartman

staging: rtl8712: Declare function as static

Declare rtl871x_intf_resume() function static since it is defined and called
in this file only.

This fixes the following sparse warning:
warning: symbol 'rtl871x_intf_resume' was not declared. Should it be static?
Signed-off-by: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9397ce21
...@@ -221,7 +221,7 @@ static int r871x_suspend(struct usb_interface *pusb_intf, pm_message_t state) ...@@ -221,7 +221,7 @@ static int r871x_suspend(struct usb_interface *pusb_intf, pm_message_t state)
return 0; return 0;
} }
void rtl871x_intf_resume(struct _adapter *padapter) static void rtl871x_intf_resume(struct _adapter *padapter)
{ {
if (padapter->dvobjpriv.inirp_init) if (padapter->dvobjpriv.inirp_init)
padapter->dvobjpriv.inirp_init(padapter); padapter->dvobjpriv.inirp_init(padapter);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册