diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2009-12-04 08:47:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 14:55:27 -0500 |
commit | 719a6e8876ee860fcb0c90d4123bff1e3df26dfd (patch) | |
tree | f0082710d73ae00619e827774ffa52c3f2acad96 /drivers | |
parent | 396cda90d228d0851f3d64c7c85a1ecf6b8ae1e8 (diff) |
USB: core: fix sparse warning for static function
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/core/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 99e54586a545..4e2c6df8d3cc 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c | |||
@@ -1067,7 +1067,7 @@ static struct notifier_block usb_bus_nb = { | |||
1067 | struct dentry *usb_debug_root; | 1067 | struct dentry *usb_debug_root; |
1068 | EXPORT_SYMBOL_GPL(usb_debug_root); | 1068 | EXPORT_SYMBOL_GPL(usb_debug_root); |
1069 | 1069 | ||
1070 | struct dentry *usb_debug_devices; | 1070 | static struct dentry *usb_debug_devices; |
1071 | 1071 | ||
1072 | static int usb_debugfs_init(void) | 1072 | static int usb_debugfs_init(void) |
1073 | { | 1073 | { |