projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b66cbef
)
Staging: wlan-ng: Fix Sparse warning should it be static?
author
Tugce Sirin
<ztugcesirin@gmail.com>
Mon, 3 Mar 2014 00:39:45 +0000
(
02:39
+0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/wlan-ng/prism2fw.c
b/drivers/staging/wlan-ng/prism2fw.c
index 0dfd2a4933ef3fe30ee78cd29fa10ff6d2826266..2b0c23587dfc6cbd37caaf9af1a5a6d6fd358d0b 100644
(file)
--- a/
drivers/staging/wlan-ng/prism2fw.c
+++ b/
drivers/staging/wlan-ng/prism2fw.c
@@
-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;