Re: [PATCH 1/2] soundwire: depend on ACPI

2019-10-02 Thread Greg KH
On Wed, Oct 02, 2019 at 10:33:29AM +0200, Michal Suchanek wrote: > The device cannot be probed on !ACPI and gives this warning: > > drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but > not used [-Wunused-function] > static int sdw_slave_add(struct sdw_bus *bus, > ^~

[PATCH 1/2] soundwire: depend on ACPI

2019-10-02 Thread Michal Suchanek
The device cannot be probed on !ACPI and gives this warning: drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but not used [-Wunused-function] static int sdw_slave_add(struct sdw_bus *bus, ^ Fixes: 7c3cd189b86d ("soundwire: Add Master registration") Signe