aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/us122l.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-11-16 12:26:30 +0100
committerTakashi Iwai <tiwai@suse.de>2009-11-24 10:20:09 +0100
commita014bbadb53121e243cac254593e79e3ca89742d (patch)
tree1bfd7f4106b9041839ff7944dfcf12d79f1397fd /sound/usb/usx2y/us122l.h
parentsound: usb: make the USB MIDI module more independent (diff)
downloadlinux-dev-a014bbadb53121e243cac254593e79e3ca89742d.tar.xz
linux-dev-a014bbadb53121e243cac254593e79e3ca89742d.zip
sound: usxxx: cleanup chip field
The chip field is no longer needed. Move those of its fields that are actually used to the device structure itself. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/usx2y/us122l.h b/sound/usb/usx2y/us122l.h
index 61ce5d7de0b9..4daf1982e821 100644
--- a/sound/usb/usx2y/us122l.h
+++ b/sound/usb/usx2y/us122l.h
@@ -3,7 +3,8 @@
struct us122l {
- struct snd_usb_audio chip;
+ struct usb_device *dev;
+ int card_index;
int stride;
struct usb_stream_kernel sk;