Re: [PATCH v2] soundwire: intel: fix intel_suspend/resume defined but not used warning

2020-08-26 Thread Vinod Koul
On 24-08-20, 21:32, Bard Liao wrote: > When CONFIG_PM_SLEEP is not defined, GCC throws compilation warnings: > > drivers/soundwire/intel.c:1799:12: warning: ‘intel_resume’ defined but not > used [-Wunused-function] > static int intel_resume(struct device *dev) > ^~~~ > drivers

[PATCH v2] soundwire: intel: fix intel_suspend/resume defined but not used warning

2020-08-24 Thread Bard Liao
When CONFIG_PM_SLEEP is not defined, GCC throws compilation warnings: drivers/soundwire/intel.c:1799:12: warning: ‘intel_resume’ defined but not used [-Wunused-function] static int intel_resume(struct device *dev) ^~~~ drivers/soundwire/intel.c:1683:12: warning: ‘intel_suspend