Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52eb063d authored by Michal Suchanek's avatar Michal Suchanek Committed by Vinod Koul
Browse files

soundwire: depend on ACPI



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,
            ^~~~~~~~~~~~~

Cc: stable@vger.kernel.org
Fixes: 7c3cd189 ("soundwire: Add Master registration")
Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/bd685232ea511251eeb9554172f1524eabf9a46e.1570097621.git.msuchanek@suse.de


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 54ecb8f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@

menuconfig SOUNDWIRE
	tristate "SoundWire support"
	depends on ACPI
	help
	  SoundWire is a 2-Pin interface with data and clock line ratified
	  by the MIPI Alliance. SoundWire is used for transporting data