Commit f49ce96f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ec20df2e
...@@ -733,7 +733,7 @@ int __init mon_text_init(void) ...@@ -733,7 +733,7 @@ int __init mon_text_init(void)
{ {
struct dentry *mondir; struct dentry *mondir;
mondir = debugfs_create_dir("usbmon", NULL); mondir = debugfs_create_dir("usbmon", usb_debug_root);
if (IS_ERR(mondir)) { if (IS_ERR(mondir)) {
printk(KERN_NOTICE TAG ": debugfs is not available\n"); printk(KERN_NOTICE TAG ": debugfs is not available\n");
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment