Skip to content

Commit e47ff01

Browse files
Chunfeng Yungregkh
authored andcommitted
usb: gadget: udc: s3c2410_udc: create debugfs directory under usb root
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> Link: https://lore.kernel.org/r/1573541519-28488-13-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3a35bc8 commit e47ff01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/gadget/udc/s3c2410_udc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,8 @@ static int __init udc_init(void)
19781978

19791979
dprintk(DEBUG_NORMAL, "%s\n", gadget_name);
19801980

1981-
s3c2410_udc_debugfs_root = debugfs_create_dir(gadget_name, NULL);
1981+
s3c2410_udc_debugfs_root = debugfs_create_dir(gadget_name,
1982+
usb_debug_root);
19821983

19831984
retval = platform_driver_register(&udc_driver_24x0);
19841985
if (retval)

0 commit comments

Comments
 (0)