aboutsummaryrefslogtreecommitdiffstats
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
parentec20df2e8907950f45fa538fa5c62a254e686875 (diff)
downloadkernel_goldelico_gta04-f49ce96f11112a84c16ac217490ebd6f8d9a8977.zip
kernel_goldelico_gta04-f49ce96f11112a84c16ac217490ebd6f8d9a8977.tar.gz
kernel_goldelico_gta04-f49ce96f11112a84c16ac217490ebd6f8d9a8977.tar.bz2
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 1f71543..a7eb4c9 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;