vserver 1.9.5.x5
[linux-2.6.git] / sound / core / seq / oss / seq_oss_init.c
index cecf3f8..9f245c9 100644 (file)
@@ -491,6 +491,26 @@ snd_seq_oss_reset(seq_oss_devinfo_t *dp)
        snd_seq_oss_timer_stop(dp->timer);
 }
 
+
+/*
+ * misc. functions for proc interface
+ */
+char *
+enabled_str(int bool)
+{
+       return bool ? "enabled" : "disabled";
+}
+
+static char *
+filemode_str(int val)
+{
+       static char *str[] = {
+               "none", "read", "write", "read/write",
+       };
+       return str[val & SNDRV_SEQ_OSS_FILE_ACMODE];
+}
+
+
 /*
  * proc interface
  */
@@ -523,22 +543,3 @@ snd_seq_oss_system_info_read(snd_info_buffer_t *buf)
        }
 }
 
-/*
- * misc. functions for proc interface
- */
-char *
-enabled_str(int bool)
-{
-       return bool ? "enabled" : "disabled";
-}
-
-char *
-filemode_str(int val)
-{
-       static char *str[] = {
-               "none", "read", "write", "read/write",
-       };
-       return str[val & SNDRV_SEQ_OSS_FILE_ACMODE];
-}
-
-