[28/28] usb: gadget: udc: s3c2410_udc: create debugfs directory under usb root
diff mbox series

Message ID 1011e8cebd545dfb91743a3c2c32cd89c7358f38.1573008520.git.chunfeng.yun@mediatek.com
State New
Headers show
  • [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
Now the USB gadget subsystem can use the USB debugfs root directory,
so 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/gadget/udc/s3c2410_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/drivers/usb/gadget/udc/s3c2410_udc.c b/drivers/usb/gadget/udc/s3c2410_udc.c
index f82208fbc249..575c63dd0754 100644
--- a/drivers/usb/gadget/udc/s3c2410_udc.c
+++ b/drivers/usb/gadget/udc/s3c2410_udc.c
@@ -1978,7 +1978,7 @@  static int __init udc_init(void)
 	dprintk(DEBUG_NORMAL, "%s\n", gadget_name);
-	s3c2410_udc_debugfs_root = debugfs_create_dir(gadget_name, NULL);
+	s3c2410_udc_debugfs_root = usb_debugfs_create_dir(gadget_name);
 	retval = platform_driver_register(&udc_driver_24x0);
 	if (retval)