[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.
I'm getting this when compiling USB with all options enabled: drivers/usb/host/uhci-debug.c:417: warning: `uhci_sprint_schedule' defined but not used my suggestion is to put under the #ifdef/#endif the functions which are only used by the proc ones too. If one of them become necessary when CONFIG_PROC_FS=n, the #ifdef/#endif for that function can be removed:
Showing
Please register or sign in to comment