Skip to content

Commit 0707496

Browse files
krzkvinodkoul
authored andcommitted
soundwire: stream: add missing const to Documentation
Commit 21f4c44 ("soundwire: stream: constify sdw_port_config when adding devices") added const to sdw_port_config argument, but forgot documentation. Fixes: 21f4c44 ("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>
1 parent 6613476 commit 0707496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/driver-api/soundwire/stream.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,12 @@ framework, this stream state is linked to .hw_params() operation.
324324
325325
int sdw_stream_add_master(struct sdw_bus * bus,
326326
struct sdw_stream_config * stream_config,
327-
struct sdw_ports_config * ports_config,
327+
const struct sdw_ports_config * ports_config,
328328
struct sdw_stream_runtime * stream);
329329
330330
int sdw_stream_add_slave(struct sdw_slave * slave,
331331
struct sdw_stream_config * stream_config,
332-
struct sdw_ports_config * ports_config,
332+
const struct sdw_ports_config * ports_config,
333333
struct sdw_stream_runtime * stream);
334334
335335

0 commit comments

Comments
 (0)