Skip to content

Commit 3a35bc8

Browse files
Chunfeng Yungregkh
authored andcommitted
usb: gadget: pxa27x: 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-11-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 626557a commit 3a35bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/gadget/udc/pxa27x_udc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static void pxa_init_debugfs(struct pxa_udc *udc)
207207
{
208208
struct dentry *root;
209209

210-
root = debugfs_create_dir(udc->gadget.name, NULL);
210+
root = debugfs_create_dir(udc->gadget.name, usb_debug_root);
211211
udc->debugfs_root = root;
212212

213213
debugfs_create_file("udcstate", 0400, root, udc, &state_dbg_fops);

0 commit comments

Comments
 (0)