From: Chunfeng Yun Date: Tue, 12 Nov 2019 06:51:49 +0000 (+0800) Subject: usb: host: imx21: create debugfs directory under usb root X-Git-Tag: v5.5-rc1~137^2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee93c83bf7565ef5ff29438dd71732162afdc3af;p=thirdparty%2Fkernel%2Flinux.git usb: host: imx21: create debugfs directory under usb root Move it's directory from the root of the debugfs filesystem into the root of usb Signed-off-by: Chunfeng Yun Link: https://lore.kernel.org/r/1573541519-28488-3-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/imx21-dbg.c b/drivers/usb/host/imx21-dbg.c index 7fcf1d9dd7f30..02a1344fbd6a0 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 = debugfs_create_dir(dev_name(imx21->dev), usb_debug_root); imx21->debug_root = root; debugfs_create_file("status", S_IRUGO, root, imx21, &debug_status_fops);