Skip to content

Commit 52eb063

Browse files
hramrachvinodkoul
authored andcommitted
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: [email protected] Fixes: 7c3cd18 ("soundwire: Add Master registration") Signed-off-by: Michal Suchanek <[email protected]> Link: https://lore.kernel.org/r/bd685232ea511251eeb9554172f1524eabf9a46e.1570097621.git.msuchanek@suse.de Signed-off-by: Vinod Koul <[email protected]>
1 parent 54ecb8f commit 52eb063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soundwire/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

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

0 commit comments

Comments
 (0)