瀏覽代碼

USB: OHCI: 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 年之前
父節點
當前提交
485f4f3975
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/host/ohci-hcd.c

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

@@ -1105,7 +1105,7 @@ static int __init ohci_hcd_mod_init(void)
 	set_bit(USB_OHCI_LOADED, &usb_hcds_loaded);
 	set_bit(USB_OHCI_LOADED, &usb_hcds_loaded);
 
 
 #ifdef DEBUG
 #ifdef DEBUG
-	ohci_debug_root = debugfs_create_dir("ohci", NULL);
+	ohci_debug_root = debugfs_create_dir("ohci", usb_debug_root);
 	if (!ohci_debug_root) {
 	if (!ohci_debug_root) {
 		retval = -ENOENT;
 		retval = -ENOENT;
 		goto error_debug;
 		goto error_debug;