summaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/us122l.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-11-16 12:23:46 +0100
committerTakashi Iwai <tiwai@suse.de>2009-11-24 10:19:59 +0100
commitd82af9f9aab69e82b86450272588c861364f8879 (patch)
tree725374db87473b6ae0e2ac6f41ca44866affa37b /sound/usb/usx2y/us122l.h
parentsound: usb-audio: allow switching altsetting on Roland USB MIDI devices (diff)
downloadlinux-d82af9f9aab69e82b86450272588c861364f8879.tar.xz
linux-d82af9f9aab69e82b86450272588c861364f8879.zip
sound: usb: make the USB MIDI module more independent
Remove the dependecy from the USB MIDI code on the snd_usb_audio structure. This allows using the USB MIDI module from another driver without having to pretend to be the generic USB audio driver. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/us122l.h')
-rw-r--r--sound/usb/usx2y/us122l.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usx2y/us122l.h b/sound/usb/usx2y/us122l.h
index 3d10c4b2a0f5..61ce5d7de0b9 100644
--- a/sound/usb/usx2y/us122l.h
+++ b/sound/usb/usx2y/us122l.h
@@ -12,6 +12,7 @@ struct us122l {
unsigned second_periods_polled;
struct file *master;
struct file *slave;
+ struct list_head midi_list;
atomic_t mmap_count;
};