Re: [PATCH] soundwire: intel: fix another unused-function warning

2020-12-04 Thread Vinod Koul
On 04-12-20, 00:04, Arnd Bergmann wrote: > From: Arnd Bergmann > > Without CONFIG_PM, there is another warning about an unused function: > > drivers/soundwire/intel.c:530:12: error: 'intel_link_power_down' defined but > not used [-Werror=unused-function] Applied, thanks -- ~Vinod

Re: [PATCH] soundwire: intel: fix another unused-function warning

2020-12-04 Thread Pierre-Louis Bossart
On 12/3/20 5:04 PM, Arnd Bergmann wrote: From: Arnd Bergmann Without CONFIG_PM, there is another warning about an unused function: drivers/soundwire/intel.c:530:12: error: 'intel_link_power_down' defined but not used [-Werror=unused-function] After a previous fix, the driver already uses

[PATCH] soundwire: intel: fix another unused-function warning

2020-12-03 Thread Arnd Bergmann
From: Arnd Bergmann Without CONFIG_PM, there is another warning about an unused function: drivers/soundwire/intel.c:530:12: error: 'intel_link_power_down' defined but not used [-Werror=unused-function] After a previous fix, the driver already uses both an #ifdef and a __maybe_unused