Messages in this thread | | | Date | Wed, 23 Nov 2016 06:20:40 -0800 | From | Tony Lindgren <> | Subject | Re: [PATCH] usb: musb: mark PM functions as __maybe_unused |
| |
* Arnd Bergmann <arnd@arndb.de> [161122 06:30]: > Building without CONFIG_PM causes a harmless warning: > > drivers/usb/musb/musb_core.c:2041:12: error: ‘musb_run_resume_work’ defined but not used [-Werror=unused-function] > > Removing the #ifdef around the PM code and instead marking the suspend/resume > functions as __maybe_unused will do the right thing without warning.
OK works for me:
Acked-by: Tony Lindgren <tony@atomide.com>
| |