soundwire: stream: add missing const to Documentation
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 17 Jan 2024 16:06:39 +0000 (17:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Jan 2024 08:27:09 +0000 (13:57 +0530)
Commit 21f4c443731f ("soundwire: stream: constify sdw_port_config when
adding devices") added const to sdw_port_config argument, but forgot
documentation.

Fixes: 21f4c443731f ("soundwire: stream: constify sdw_port_config when adding devices")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240117160639.1327266-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/driver-api/soundwire/stream.rst

index b432a2de45d37b32001f9e2e41492a586a37bb8a..2a794484f62c970a95cd35fa688b98fc9bbf2a63 100644 (file)
@@ -324,12 +324,12 @@ framework, this stream state is linked to .hw_params() operation.
 
   int sdw_stream_add_master(struct sdw_bus * bus,
                struct sdw_stream_config * stream_config,
-               struct sdw_ports_config * ports_config,
+               const struct sdw_ports_config * ports_config,
                struct sdw_stream_runtime * stream);
 
   int sdw_stream_add_slave(struct sdw_slave * slave,
                struct sdw_stream_config * stream_config,
-               struct sdw_ports_config * ports_config,
+               const struct sdw_ports_config * ports_config,
                struct sdw_stream_runtime * stream);