diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2019-08-13 10:35:47 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-09-04 11:27:28 +0200 |
commit | dfcff3f8a5f18a0cfa233522b5647c2e6035fcb5 (patch) | |
tree | e372edf586b17b59325f0ef9dfe0bec620fa2bc9 /drivers/soundwire | |
parent | soundwire: Add compute_params callback (diff) | |
download | linux-dfcff3f8a5f18a0cfa233522b5647c2e6035fcb5.tar.xz linux-dfcff3f8a5f18a0cfa233522b5647c2e6035fcb5.zip |
soundwire: stream: make stream name a const pointer
Make stream name const pointer
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20190813083550.5877-3-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c index 0bc1b4dbd14b..e69f94a8c3a8 100644 --- a/drivers/soundwire/stream.c +++ b/drivers/soundwire/stream.c @@ -865,7 +865,7 @@ EXPORT_SYMBOL(sdw_release_stream); * sdw_alloc_stream should be called only once per stream. Typically * invoked from ALSA/ASoC machine/platform driver. */ -struct sdw_stream_runtime *sdw_alloc_stream(char *stream_name) +struct sdw_stream_runtime *sdw_alloc_stream(const char *stream_name) { struct sdw_stream_runtime *stream; |