summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-04-25 00:15:49 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 06:44:43 +0200
commitf49ce96f11112a84c16ac217490ebd6f8d9a8977 (patch)
treecad37936436f600830e435f02e1bd6f04507002c
parentUSB: UHCI: use the new usb debugfs directory (diff)
downloadlinux-f49ce96f11112a84c16ac217490ebd6f8d9a8977.tar.xz
linux-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>
-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;