forked from Minki/linux
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>
This commit is contained in:
parent
ec20df2e89
commit
f49ce96f11
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user