Commit aab94e6d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix build error in the USB core if CONFIG_PROCFS is disabled

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent b447780d
......@@ -193,6 +193,7 @@ static inline void proc_net_remove(const char *name)
#define proc_root_driver NULL
#define proc_net NULL
#define proc_bus NULL
#define proc_net_fops_create(name, mode, fops) ({ (void)(mode), NULL; })
#define proc_net_create(name, mode, info) ({ (void)(mode), NULL; })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment