提交 24dc3538 编写于 作者: G Greg Kroah-Hartman 提交者: Felipe Balbi

usb: musb: get rid of unused proc_dir_entry

The musb driver no longer uses procfs, so get rid of the proc_dir_entry
variable in struct musb.
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 c50f056c
...@@ -83,11 +83,6 @@ enum { ...@@ -83,11 +83,6 @@ enum {
MUSB_PORT_MODE_DUAL_ROLE, MUSB_PORT_MODE_DUAL_ROLE,
}; };
#ifdef CONFIG_PROC_FS
#include <linux/fs.h>
#define MUSB_CONFIG_PROC_FS
#endif
/****************************** CONSTANTS ********************************/ /****************************** CONSTANTS ********************************/
#ifndef MUSB_C_NUM_EPS #ifndef MUSB_C_NUM_EPS
...@@ -425,9 +420,6 @@ struct musb { ...@@ -425,9 +420,6 @@ struct musb {
struct musb_hdrc_config *config; struct musb_hdrc_config *config;
#ifdef MUSB_CONFIG_PROC_FS
struct proc_dir_entry *proc_entry;
#endif
int xceiv_old_state; int xceiv_old_state;
#ifdef CONFIG_DEBUG_FS #ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_root; struct dentry *debugfs_root;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册