[07/28] usb: ehci-hcd: use usb_debugfs_create_dir() to create directory
diff mbox series

Message ID 5a89342f04ce8b85d0c3c847689a8985d7a3e4c2.1573008520.git.chunfeng.yun@mediatek.com
State New
Headers show
Series
  • [01/28] usb: common: change usb_debug_root as static variable
Related show

Commit Message

Chunfeng Yun Nov. 6, 2019, 3:15 a.m. UTC
The usb_debug_root is now a file static variable, use
usb_debugfs_create_dir() to create "ehci" directory under
usb root

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
 drivers/usb/host/ehci-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index cf2b7ae93b7e..773ea1f3beec 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1306,7 +1306,7 @@  static int __init ehci_hcd_init(void)
 		 sizeof(struct ehci_itd), sizeof(struct ehci_sitd));
 
 #ifdef CONFIG_DYNAMIC_DEBUG
-	ehci_debug_root = debugfs_create_dir("ehci", usb_debug_root);
+	ehci_debug_root = usb_debugfs_create_dir("ehci");
 #endif
 
 #ifdef PLATFORM_DRIVER