USB: EHCI: use the new usb debugfs directory
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 24 Apr 2009 22:13:18 +0000 (15:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:42 +0000 (21:44 -0700)
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>
drivers/usb/host/ehci-hcd.c

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