diff options
-rw-r--r-- | include/sound/pcm.h | 2 | ||||
-rw-r--r-- | sound/core/pcm.c | 2 |
2 files changed, 2 insertions, 2 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 | ||
452 | extern const struct file_operations snd_pcm_f_ops[2]; | 452 | extern const struct file_operations snd_pcm_f_ops[2]; |
453 | 453 | ||
454 | int snd_pcm_new(struct snd_card *card, char *id, int device, | 454 | int 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); |
457 | int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count); | 457 | int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count); |
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index 192a433a2403..583453e2355c 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c | |||
@@ -692,7 +692,7 @@ EXPORT_SYMBOL(snd_pcm_new_stream); | |||
692 | * | 692 | * |
693 | * Returns zero if successful, or a negative error code on failure. | 693 | * Returns zero if successful, or a negative error code on failure. |
694 | */ | 694 | */ |
695 | int snd_pcm_new(struct snd_card *card, char *id, int device, | 695 | int snd_pcm_new(struct snd_card *card, const char *id, int device, |
696 | int playback_count, int capture_count, | 696 | int playback_count, int capture_count, |
697 | struct snd_pcm ** rpcm) | 697 | struct snd_pcm ** rpcm) |
698 | { | 698 | { |