ALSA: seq: More constifications
[muen/linux.git] / sound / core / seq / oss / seq_oss_init.c
index 6dc94ef..4534a15 100644 (file)
@@ -460,10 +460,10 @@ enabled_str(int bool)
        return bool ? "enabled" : "disabled";
 }
 
        return bool ? "enabled" : "disabled";
 }
 
-static char *
+static const char *
 filemode_str(int val)
 {
 filemode_str(int val)
 {
-       static char *str[] = {
+       static const char * const str[] = {
                "none", "read", "write", "read/write",
        };
        return str[val & SNDRV_SEQ_OSS_FILE_ACMODE];
                "none", "read", "write", "read/write",
        };
        return str[val & SNDRV_SEQ_OSS_FILE_ACMODE];