diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-11-10 12:14:04 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-10 18:32:38 +0300 |
commit | 7584af10cf46e0f4aa1696f1be79fa0f19a945ba (patch) | |
tree | e40065330c913b3c5a79da0080444cea761816d7 /include/sound/rawmidi.h | |
parent | e7373b702f6eab35f315e016a4159860a7a4d686 (diff) | |
download | linux-7584af10cf46e0f4aa1696f1be79fa0f19a945ba.tar.xz |
sound: rawmidi: record a substream's owner process
Record the pid of the task that opened a RawMIDI substream.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/rawmidi.h')
-rw-r--r-- | include/sound/rawmidi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h index c23c26585700..2480e7d10dcf 100644 --- a/include/sound/rawmidi.h +++ b/include/sound/rawmidi.h @@ -46,6 +46,7 @@ struct snd_rawmidi; struct snd_rawmidi_substream; struct snd_seq_port_info; +struct pid; struct snd_rawmidi_ops { int (*open) (struct snd_rawmidi_substream * substream); @@ -97,6 +98,7 @@ struct snd_rawmidi_substream { struct snd_rawmidi_str *pstr; char name[32]; struct snd_rawmidi_runtime *runtime; + struct pid *pid; /* hardware layer */ struct snd_rawmidi_ops *ops; }; |