aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-04-24 15:15:49 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:43 -0700
commitf49ce96f11112a84c16ac217490ebd6f8d9a8977 (patch)
treecad37936436f600830e435f02e1bd6f04507002c /drivers/usb/mon
parentUSB: UHCI: use the new usb debugfs directory (diff)
downloadlinux-dev-f49ce96f11112a84c16ac217490ebd6f8d9a8977.tar.xz
linux-dev-f49ce96f11112a84c16ac217490ebd6f8d9a8977.zip
USB: usbmon: use the new usb debugfs directory
All usb debugfs files should be behind the usb directory, not at the root of debugfs. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon')
-rw-r--r--drivers/usb/mon/mon_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c
index 1f715436d6d3..a7eb4c99342c 100644
--- a/drivers/usb/mon/mon_text.c
+++ b/drivers/usb/mon/mon_text.c
@@ -733,7 +733,7 @@ int __init mon_text_init(void)
{
struct dentry *mondir;
- mondir = debugfs_create_dir("usbmon", NULL);
+ mondir = debugfs_create_dir("usbmon", usb_debug_root);
if (IS_ERR(mondir)) {
printk(KERN_NOTICE TAG ": debugfs is not available\n");
return -ENODEV;