Skip to content

Commit

Permalink
USB: core: fix sparse warning for static function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 396cda9 commit 719a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
static struct dentry *usb_debug_devices;

static int usb_debugfs_init(void)
{
Expand Down

0 comments on commit 719a6e8

Please sign in to comment.