diff options
Diffstat (limited to 'include/sound/control.h')
-rw-r--r-- | include/sound/control.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sound/control.h b/include/sound/control.h index ef96f07aa03b..112374dc0c58 100644 --- a/include/sound/control.h +++ b/include/sound/control.h | |||
@@ -56,7 +56,6 @@ struct snd_kcontrol_new { | |||
56 | 56 | ||
57 | struct snd_kcontrol_volatile { | 57 | struct snd_kcontrol_volatile { |
58 | struct snd_ctl_file *owner; /* locked */ | 58 | struct snd_ctl_file *owner; /* locked */ |
59 | pid_t owner_pid; | ||
60 | unsigned int access; /* access rights */ | 59 | unsigned int access; /* access rights */ |
61 | }; | 60 | }; |
62 | 61 | ||
@@ -87,10 +86,12 @@ struct snd_kctl_event { | |||
87 | 86 | ||
88 | #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list) | 87 | #define snd_kctl_event(n) list_entry(n, struct snd_kctl_event, list) |
89 | 88 | ||
89 | struct pid; | ||
90 | |||
90 | struct snd_ctl_file { | 91 | struct snd_ctl_file { |
91 | struct list_head list; /* list of all control files */ | 92 | struct list_head list; /* list of all control files */ |
92 | struct snd_card *card; | 93 | struct snd_card *card; |
93 | pid_t pid; | 94 | struct pid *pid; |
94 | int prefer_pcm_subdevice; | 95 | int prefer_pcm_subdevice; |
95 | int prefer_rawmidi_subdevice; | 96 | int prefer_rawmidi_subdevice; |
96 | wait_queue_head_t change_sleep; | 97 | wait_queue_head_t change_sleep; |