projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396cda9
)
USB: core: fix sparse warning for static function
author
Felipe Balbi
<felipe.balbi@nokia.com>
Fri, 4 Dec 2009 13:47:42 +0000
(15:47 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Dec 2009 19:55:27 +0000
(11:55 -0800)
Fix the following sparse warning:
drivers/usb/core/usb.c:1033:15: warning: symbol 'usb_debug_devices' 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/usb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/usb.c
b/drivers/usb/core/usb.c
index
99e5458
..
4e2c6df
100644
(file)
--- a/
drivers/usb/core/usb.c
+++ b/
drivers/usb/core/usb.c
@@
-1067,7
+1067,7
@@
static struct notifier_block usb_bus_nb = {
struct dentry *usb_debug_root;
EXPORT_SYMBOL_GPL(usb_debug_root);
-struct dentry *usb_debug_devices;
+st
atic st
ruct dentry *usb_debug_devices;
static int usb_debugfs_init(void)
{