mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soundwire: stream: add missing const to Documentation
@ 2024-01-17 16:06 Krzysztof Kozlowski
  2024-01-22  8:27 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-17 16:06 UTC (permalink / raw)
  To: Vinod Koul, Bard Liao, Pierre-Louis Bossart, Sanyog Kale,
	Jonathan Corbet, Krzysztof Kozlowski, alsa-devel, linux-doc,
	linux-kernel

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>
---
 Documentation/driver-api/soundwire/stream.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/driver-api/soundwire/stream.rst b/Documentation/driver-api/soundwire/stream.rst
index b432a2de45d3..2a794484f62c 100644
--- a/Documentation/driver-api/soundwire/stream.rst
+++ b/Documentation/driver-api/soundwire/stream.rst
@@ -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);
 
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] soundwire: stream: add missing const to Documentation
  2024-01-17 16:06 [PATCH] soundwire: stream: add missing const to Documentation Krzysztof Kozlowski
@ 2024-01-22  8:27 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2024-01-22  8:27 UTC (permalink / raw)
  To: Bard Liao, Pierre-Louis Bossart, Sanyog Kale, Jonathan Corbet,
	alsa-devel, linux-doc, linux-kernel, Krzysztof Kozlowski


On Wed, 17 Jan 2024 17:06:39 +0100, Krzysztof Kozlowski wrote:
> Commit 21f4c443731f ("soundwire: stream: constify sdw_port_config when
> adding devices") added const to sdw_port_config argument, but forgot
> documentation.
> 
> 

Applied, thanks!

[1/1] soundwire: stream: add missing const to Documentation
      commit: 0707496ff4e416ea08c90053fd5fde5811b11b22

Best regards,
-- 
~Vinod



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-22  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 16:06 [PATCH] soundwire: stream: add missing const to Documentation Krzysztof Kozlowski
2024-01-22  8:27 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®