Re: [PATCH] bus: ti-sysc: mark PM functions as __maybe_unused

2017-10-13 Thread Tony Lindgren
* Arnd Bergmann [171013 02:27]: > The new bus driver causes a harmless compile-time warning when > CONFIG_PM is disabled: > > drivers/bus/ti-sysc.c:440:12: error: 'sysc_runtime_resume' defined but not > used [-Werror=unused-function] > static int sysc_runtime_resume(struct device *dev) >

[PATCH] bus: ti-sysc: mark PM functions as __maybe_unused

2017-10-13 Thread Arnd Bergmann
The new bus driver causes a harmless compile-time warning when CONFIG_PM is disabled: drivers/bus/ti-sysc.c:440:12: error: 'sysc_runtime_resume' defined but not used [-Werror=unused-function] static int sysc_runtime_resume(struct device *dev) ^~~ drivers/bus/ti-sysc.c