USB: FHCI: use the new usb debugfs directory
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 24 Apr 2009 22:14:25 +0000 (15:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:43 +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/fhci-dbg.c

index ea8a4255c5da25b29136da57b8849c7bdd3f4285..e799f86dab1169c3542dc4c7c8eb5411feb2c2c8 100644 (file)
@@ -108,7 +108,7 @@ void fhci_dfs_create(struct fhci_hcd *fhci)
 {
        struct device *dev = fhci_to_hcd(fhci)->self.controller;
 
-       fhci->dfs_root = debugfs_create_dir(dev_name(dev), NULL);
+       fhci->dfs_root = debugfs_create_dir(dev_name(dev), usb_debug_root);
        if (!fhci->dfs_root) {
                WARN_ON(1);
                return;