soundwire: depend on ACPI || OF
authorMichal Suchanek <msuchanek@suse.de>
Thu, 3 Oct 2019 10:13:55 +0000 (12:13 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 15 Oct 2019 10:45:58 +0000 (16:15 +0530)
commit0f8c0f8a7782178c40157b2feb6a532493cbadd3
tree6731d8e0c107a3fad96a143527f3596faa27a17a
parent52eb063d153ac310058fbaa91577a72c0e7a7169
soundwire: depend on ACPI || OF

Now devicetree is supported for probing soundwire as well.

On platforms built with !ACPI !OF (ie s390x) the device still cannot be
probed and gives a build warning.

Cc: stable@vger.kernel.org
Fixes: a2e484585ad3 ("soundwire: core: add device tree support for slave devices")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/0b89b4ea16a93f523105c81a2f718b0cd7ec66f2.1570097621.git.msuchanek@suse.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/Kconfig