git.codelabs.ch
/
muen
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: seq: More constifications
[muen/linux.git]
/
sound
/
core
/
seq
/
oss
/
seq_oss_init.c
diff --git
a/sound/core/seq/oss/seq_oss_init.c
b/sound/core/seq/oss/seq_oss_init.c
index
6dc94ef
..
4534a15
100644
(file)
--- a/
sound/core/seq/oss/seq_oss_init.c
+++ b/
sound/core/seq/oss/seq_oss_init.c
@@
-460,10
+460,10
@@
enabled_str(int bool)
return bool ? "enabled" : "disabled";
}
-static char *
+static c
onst c
har *
filemode_str(int val)
{
- static c
har *
str[] = {
+ static c
onst char * const
str[] = {
"none", "read", "write", "read/write",
};
return str[val & SNDRV_SEQ_OSS_FILE_ACMODE];