summaryrefslogtreecommitdiffstats
path: root/sound/firewire/oxfw/oxfw-stream.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-02-18 16:41:25 +0900
committerTakashi Iwai <tiwai@suse.de>2024-02-19 09:24:35 +0100
commit5c0a35b26f3b7b260475bd0e62261584aab8e486 (patch)
tree0476cba78aa359aeb6899010ff0806d22e442498 /sound/firewire/oxfw/oxfw-stream.c
parente8991d1d6498f663889e99ea7fd3cb9c464cebf1 (diff)
downloadlinux-stable-5c0a35b26f3b7b260475bd0e62261584aab8e486.tar.gz
linux-stable-5c0a35b26f3b7b260475bd0e62261584aab8e486.tar.bz2
linux-stable-5c0a35b26f3b7b260475bd0e62261584aab8e486.zip
ALSA: oxfw: use const qualifier for immutable argument
In the helper function, the first argument is immutable, thus it is preferable to use const qualifier. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20240218074128.95210-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/oxfw/oxfw-stream.c')
-rw-r--r--sound/firewire/oxfw/oxfw-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/oxfw/oxfw-stream.c b/sound/firewire/oxfw/oxfw-stream.c
index f4a702def397..6d8722f9d3a5 100644
--- a/sound/firewire/oxfw/oxfw-stream.c
+++ b/sound/firewire/oxfw/oxfw-stream.c
@@ -515,7 +515,7 @@ end:
* in AV/C Stream Format Information Specification 1.1 (Apr 2005, 1394TA)
* Also 'Clause 12 AM824 sequence adaption layers' in IEC 61883-6:2005
*/
-int snd_oxfw_stream_parse_format(u8 *format,
+int snd_oxfw_stream_parse_format(const u8 *format,
struct snd_oxfw_stream_formation *formation)
{
unsigned int i, e, channels, type;