mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
USB: FHCI: 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>
This commit is contained in:
parent
08f4e586b9
commit
66536ab368
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user