diff options
author | Michal Suchanek <msuchanek@suse.de> | 2019-10-03 12:13:54 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-15 16:15:58 +0530 |
commit | 52eb063d153ac310058fbaa91577a72c0e7a7169 (patch) | |
tree | c1eb97cbe19ea7bbec8309269a580dbd69eb5d9b /drivers/soundwire | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
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: 7c3cd189b86d ("soundwire: Add Master registration")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/bd685232ea511251eeb9554172f1524eabf9a46e.1570097621.git.msuchanek@suse.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig index f518273cfbe3..c73bfbaa2659 100644 --- a/drivers/soundwire/Kconfig +++ b/drivers/soundwire/Kconfig @@ -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 |