diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2019-08-29 17:35:12 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-09-04 13:12:31 +0530 |
commit | a2e484585ad306aa8ac84140ef54d722ac8f45df (patch) | |
tree | a5bcd61ec37ca21e2a3bdfba6774edb3513f7672 /drivers/soundwire/bus.h | |
parent | dd4689e2b6414a2085a7327d8cf54ef535fcaadc (diff) | |
download | lwn-a2e484585ad306aa8ac84140ef54d722ac8f45df.tar.gz lwn-a2e484585ad306aa8ac84140ef54d722ac8f45df.zip |
soundwire: core: add device tree support for slave devices
This patch adds support to parsing device tree based
SoundWire slave devices.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20190829163514.11221-3-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/bus.h')
-rw-r--r-- | drivers/soundwire/bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/bus.h b/drivers/soundwire/bus.h index 9d6ea7e447ff..cb482da914da 100644 --- a/drivers/soundwire/bus.h +++ b/drivers/soundwire/bus.h @@ -15,6 +15,7 @@ static inline int sdw_acpi_find_slaves(struct sdw_bus *bus) } #endif +int sdw_of_find_slaves(struct sdw_bus *bus); void sdw_extract_slave_id(struct sdw_bus *bus, u64 addr, struct sdw_slave_id *id); |