projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb5052
)
USB: core: message: fix sparse warning
author
Felipe Balbi
<felipe.balbi@nokia.com>
Fri, 4 Dec 2009 13:47:44 +0000
(15:47 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Dec 2009 19:55:28 +0000
(11:55 -0800)
Fix the following sparse warning:
drivers/usb/core/message.c:1583:6: warning: symbol '__usb_queue_reset_device' was not declared. Should it be static?
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/message.c
b/drivers/usb/core/message.c
index ed83f2b1d551ec529e7e4ff27129bf2d1389d5d1..1b994846e8e01bec12219873eb6926e97cbc3e81 100644
(file)
--- a/
drivers/usb/core/message.c
+++ b/
drivers/usb/core/message.c
@@
-1633,7
+1633,7
@@
static struct usb_interface_assoc_descriptor *find_iad(struct usb_device *dev,
*
* See usb_queue_reset_device() for more details
*/
-void __usb_queue_reset_device(struct work_struct *ws)
+
static
void __usb_queue_reset_device(struct work_struct *ws)
{
int rc;
struct usb_interface *iface =