Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157893
b: refs/heads/master
c: 82a783f
h: refs/heads/master
i:
  157891: 63496a1
v: v3
  • Loading branch information
Takashi Iwai committed Sep 7, 2009
1 parent 472490a commit 2131b52
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d32e03d01649d2dd837923470f3f323e3b88253
refs/heads/master: 82a783f4bcb878e6c4f02e24c7cd0687bdea7443
9 changes: 0 additions & 9 deletions trunk/include/sound/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 8 additions & 0 deletions trunk/sound/core/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
#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);

Expand Down

0 comments on commit 2131b52

Please sign in to comment.