Staging: wlan-ng: Fix Sparse warning should it be static?
authorTugce Sirin <ztugcesirin@gmail.com>
Mon, 3 Mar 2014 00:39:45 +0000 (02:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:44:17 +0000 (13:44 -0800)
This patch fixes following Sparse warning should it be static? in
staging/wlan-ng.

Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2fw.c

index 0dfd2a4933ef3fe30ee78cd29fa10ff6d2826266..2b0c23587dfc6cbd37caaf9af1a5a6d6fd358d0b 100644 (file)
@@ -201,7 +201,7 @@ static int validate_identity(void);
 *      0       - success
 *      ~0      - failure
 ----------------------------------------------------------------*/
-int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev)
+static int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev)
 {
        const struct firmware *fw_entry = NULL;