Skip to content

Commit

Permalink
Revert "usb: mtu3: fix up undefined reference to usb_debug_root"
Browse files Browse the repository at this point in the history
It's not needed after [1] is applied, because usb_debug_root is created
by usb common core but not usbcore now.

[1] 812086d ("USB: move usb debugfs directory creation to the usb common core")

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Chunfeng Yun authored and Greg Kroah-Hartman committed Jun 10, 2019
1 parent a3fe260 commit e137d34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/mtu3/mtu3_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb)

void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb)
{
ssusb->dbgfs_root = debugfs_create_dir(dev_name(ssusb->dev), NULL);
ssusb->dbgfs_root =
debugfs_create_dir(dev_name(ssusb->dev), usb_debug_root);
}

void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb)
Expand Down

0 comments on commit e137d34

Please sign in to comment.