From: Greg Kroah-Hartman Date: Fri, 24 Apr 2009 22:15:49 +0000 (-0700) Subject: USB: usbmon: use the new usb debugfs directory X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f49ce96f11112a84c16ac217490ebd6f8d9a8977;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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;