ALSA: Remove struct snd_monitor_file from public sound/core.h
authorTakashi Iwai <tiwai@suse.de>
Mon, 7 Sep 2009 13:50:18 +0000 (15:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Sep 2009 13:50:18 +0000 (15:50 +0200)
The struct snd_monitor_file is used locally only in sound/core/init.c,
thus it should be moved there from the public sound/core.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/init.c

index 309cb9659a05907576fb933b822b100afd3e56bb..3bb07bc622550fd1464f94dab5b730cc5d163442 100644 (file)
@@ -93,15 +93,6 @@ struct snd_device {
 
 #define snd_device(n) list_entry(n, struct snd_device, list)
 
-/* monitor files for graceful shutdown (hotplug) */
-
-struct snd_monitor_file {
-       struct file *file;
-       const struct file_operations *disconnected_f_op;
-       struct list_head shutdown_list; /* still need to shutdown */
-       struct list_head list;  /* link of monitor files */
-};
-
 /* main structure for soundcard */
 
 struct snd_card {
index d5d40d78c409e6b865f0b420683ddd0c3f41d324..ec4a50ce56560372eb957eeaa8f66d4e8508b9a6 100644 (file)
 #include <sound/control.h>
 #include <sound/info.h>
 
+/* monitor files for graceful shutdown (hotplug) */
+struct snd_monitor_file {
+       struct file *file;
+       const struct file_operations *disconnected_f_op;
+       struct list_head shutdown_list; /* still need to shutdown */
+       struct list_head list;  /* link of monitor files */
+};
+
 static DEFINE_SPINLOCK(shutdown_lock);
 static LIST_HEAD(shutdown_files);