浏览代码

USB: EHCI: 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>
Greg Kroah-Hartman 16 年之前
父节点
当前提交
08f4e586b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/host/ehci-hcd.c

+ 1 - 1
drivers/usb/host/ehci-hcd.c

@@ -1097,7 +1097,7 @@ static int __init ehci_hcd_init(void)
 		 sizeof(struct ehci_itd), sizeof(struct ehci_sitd));
 		 sizeof(struct ehci_itd), sizeof(struct ehci_sitd));
 
 
 #ifdef DEBUG
 #ifdef DEBUG
-	ehci_debug_root = debugfs_create_dir("ehci", NULL);
+	ehci_debug_root = debugfs_create_dir("ehci", usb_debug_root);
 	if (!ehci_debug_root) {
 	if (!ehci_debug_root) {
 		retval = -ENOENT;
 		retval = -ENOENT;
 		goto err_debug;
 		goto err_debug;