From: Felipe Balbi Date: Fri, 4 Dec 2009 13:47:42 +0000 (+0200) Subject: USB: core: fix sparse warning for static function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=719a6e8876ee860fcb0c90d4123bff1e3df26dfd;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 = { 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) {