Skip to content

Commit

Permalink
USB: usbmon: use the new usb debugfs directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jun 16, 2009
1 parent ec20df2 commit f49ce96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/mon/mon_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f49ce96

Please sign in to comment.