summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/usb_intf.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla2016-02-16 14:01:55 +0100
committerGreg Kroah-Hartman2016-02-21 00:18:33 +0100
commitf99ca86646cf7dea405af114f182cf7cbbe4d0f6 (patch)
tree384965e6760b8718bc67df37c303c46c30af9a35 /drivers/staging/rtl8712/usb_intf.c
parentstaging: fsl-mc: Remove unneeded else following a return (diff)
downloadkernel-qcow2-linux-f99ca86646cf7dea405af114f182cf7cbbe4d0f6.tar.gz
kernel-qcow2-linux-f99ca86646cf7dea405af114f182cf7cbbe4d0f6.tar.xz
kernel-qcow2-linux-f99ca86646cf7dea405af114f182cf7cbbe4d0f6.zip
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: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/usb_intf.c')
-rw-r--r--drivers/staging/rtl8712/usb_intf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/usb_intf.c b/drivers/staging/rtl8712/usb_intf.c
index b64f10b4a6c1..f1d3d7026a89 100644
--- a/drivers/staging/rtl8712/usb_intf.c
+++ b/drivers/staging/rtl8712/usb_intf.c
@@ -221,7 +221,7 @@ static int r871x_suspend(struct usb_interface *pusb_intf, pm_message_t state)
return 0;
}
-void rtl871x_intf_resume(struct _adapter *padapter)
+static void rtl871x_intf_resume(struct _adapter *padapter)
{
if (padapter->dvobjpriv.inirp_init)
padapter->dvobjpriv.inirp_init(padapter);