aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2009-02-05 07:01:54 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-05 09:03:27 -0500
commite6161653094f14b1add10efe3493a2e526fe9538 (patch)
treebe3865ba7941bcc57bf0b29ab892738ec08d60e8 /include
parentcade9f8a9cf1cd41f6f9e8850c6a0465a21248c3 (diff)
ALSA: snd_pcm_new api cleanup
Impact: cleanup snd_pcm_new takes a char *id argument, although it is not modifying the string. it can therefore be declared as const char *id. Signed-off-by: Tim Blechmann <tim@klingt.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/sound/pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 40c5a6fa6bcd..ee0e887e49d4 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -451,7 +451,7 @@ struct snd_pcm_notify {
451 451
452extern const struct file_operations snd_pcm_f_ops[2]; 452extern const struct file_operations snd_pcm_f_ops[2];
453 453
454int snd_pcm_new(struct snd_card *card, char *id, int device, 454int snd_pcm_new(struct snd_card *card, const char *id, int device,
455 int playback_count, int capture_count, 455 int playback_count, int capture_count,
456 struct snd_pcm **rpcm); 456 struct snd_pcm **rpcm);
457int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count); 457int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count);