usb: mtu3: move vbus and mode debugfs interfaces into mtu3_debugfs.c
Due to the separated debugfs files are added, move vbus and mode debugfs interfaces related with dual-role switch from mtu3_dr.c into mtu3_debugfs.c Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ae07809255
commit
4aab6ad24a
@@ -27,11 +27,13 @@ struct mtu3_file_map {
|
||||
|
||||
#if IS_ENABLED(CONFIG_DEBUG_FS)
|
||||
void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb);
|
||||
void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb);
|
||||
void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb);
|
||||
void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb);
|
||||
|
||||
#else
|
||||
static inline void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) {}
|
||||
static inline void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) {}
|
||||
static inline void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) {}
|
||||
static inline void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) {}
|
||||
|
||||
|
Reference in New Issue
Block a user