diff mbox series

[18/28] usb: host: imx21: create debugfs directory under usb root

Message ID b19a7ff7cf942833c5209fb3d2c8f59ddb517550.1573008520.git.chunfeng.yun@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [01/28] usb: common: change usb_debug_root as static variable | expand

Commit Message

Chunfeng Yun (云春峰) Nov. 6, 2019, 3:15 a.m. UTC
Move it's directory from the root of the debugfs filesystem into
the root of usb

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

Patch

diff --git a/drivers/usb/host/imx21-dbg.c b/drivers/usb/host/imx21-dbg.c
index 7fcf1d9dd7f3..42694295fb66 100644
--- a/drivers/usb/host/imx21-dbg.c
+++ b/drivers/usb/host/imx21-dbg.c
@@ -419,7 +419,7 @@  static void create_debug_files(struct imx21 *imx21)
 {
 	struct dentry *root;
 
-	root = debugfs_create_dir(dev_name(imx21->dev), NULL);
+	root = usb_debugfs_create_dir(dev_name(imx21->dev));
 	imx21->debug_root = root;
 
 	debugfs_create_file("status", S_IRUGO, root, imx21, &debug_status_fops);