summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/mixer_oss.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-09-08 14:29:58 +0200
committerTakashi Iwai <tiwai@suse.de>2009-09-08 14:45:06 +0200
commit4f7454a9970fa0f3e9f1a68201520e3df1bb5224 (patch)
tree2bd07fd5fe7dc518b25b3b61592cad4a3fbf10b9 /sound/core/oss/mixer_oss.c
parent6e5265ec34d3b9578973841ddec8b925e986136a (diff)
downloadblackbird-op-linux-4f7454a9970fa0f3e9f1a68201520e3df1bb5224.tar.gz
blackbird-op-linux-4f7454a9970fa0f3e9f1a68201520e3df1bb5224.zip
ALSA: Add const prefix to proc helper functions
Add appropriate const prefix to char * arguments in proc helper functions. Also fixed the caller side to be proper const pointers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss/mixer_oss.c')
-rw-r--r--sound/core/oss/mixer_oss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c
index 5dcd8a526970..772423889eb3 100644
--- a/sound/core/oss/mixer_oss.c
+++ b/sound/core/oss/mixer_oss.c
@@ -1154,7 +1154,8 @@ static void snd_mixer_oss_proc_write(struct snd_info_entry *entry,
struct snd_info_buffer *buffer)
{
struct snd_mixer_oss *mixer = entry->private_data;
- char line[128], str[32], idxstr[16], *cptr;
+ char line[128], str[32], idxstr[16];
+ const char *cptr;
int ch, idx;
struct snd_mixer_oss_assign_table *tbl;
struct slot *slot;
OpenPOWER on IntegriCloud