diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-11-20 20:47:20 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-11-23 10:16:20 +0300 |
commit | 21f4c443731fdb064c0dd31a743aafd0b075156c (patch) | |
tree | 87527795b47eb646e67edd29d33e16913de69608 /scripts/gdb/linux/tasks.py | |
parent | 5bdc61ef45007908df9d8587111c7a5a552bdd46 (diff) | |
download | linux-21f4c443731fdb064c0dd31a743aafd0b075156c.tar.xz |
soundwire: stream: constify sdw_port_config when adding devices
sdw_stream_add_master() and sdw_stream_add_slave() do not modify
contents of passed sdw_port_config, so it can be made const for code
safety and as documentation of expected usage.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231120174720.239610-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions