diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 09:08:02 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:19:55 -0500 |
commit | 86e07d34658bb85b3424f4db64fa28f884edbe8d (patch) | |
tree | eb6a97b850d12d2f64fa13cd1c436f0735627171 /sound/usb/usbaudio.h | |
parent | db13154843cb2c99a93e9feed575e906f6e0e455 (diff) |
[ALSA] Remove xxx_t typedefs: USB-Audio
Modules: USB generic driver
Remove xxx_t typedefs from the USB-Audio driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r-- | sound/usb/usbaudio.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h index b5802022bb19..ecd724bfe5a5 100644 --- a/sound/usb/usbaudio.h +++ b/sound/usb/usbaudio.h | |||
@@ -126,12 +126,10 @@ | |||
126 | /* | 126 | /* |
127 | */ | 127 | */ |
128 | 128 | ||
129 | typedef struct snd_usb_audio snd_usb_audio_t; | ||
130 | |||
131 | struct snd_usb_audio { | 129 | struct snd_usb_audio { |
132 | int index; | 130 | int index; |
133 | struct usb_device *dev; | 131 | struct usb_device *dev; |
134 | snd_card_t *card; | 132 | struct snd_card *card; |
135 | u32 usb_id; | 133 | u32 usb_id; |
136 | int shutdown; | 134 | int shutdown; |
137 | int num_interfaces; | 135 | int num_interfaces; |
@@ -172,9 +170,6 @@ enum quirk_type { | |||
172 | QUIRK_TYPE_COUNT | 170 | QUIRK_TYPE_COUNT |
173 | }; | 171 | }; |
174 | 172 | ||
175 | typedef struct snd_usb_audio_quirk snd_usb_audio_quirk_t; | ||
176 | typedef struct snd_usb_midi_endpoint_info snd_usb_midi_endpoint_info_t; | ||
177 | |||
178 | struct snd_usb_audio_quirk { | 173 | struct snd_usb_audio_quirk { |
179 | const char *vendor_name; | 174 | const char *vendor_name; |
180 | const char *product_name; | 175 | const char *product_name; |
@@ -228,12 +223,15 @@ unsigned int snd_usb_combine_bytes(unsigned char *bytes, int size); | |||
228 | void *snd_usb_find_desc(void *descstart, int desclen, void *after, u8 dtype); | 223 | void *snd_usb_find_desc(void *descstart, int desclen, void *after, u8 dtype); |
229 | void *snd_usb_find_csint_desc(void *descstart, int desclen, void *after, u8 dsubtype); | 224 | void *snd_usb_find_csint_desc(void *descstart, int desclen, void *after, u8 dsubtype); |
230 | 225 | ||
231 | int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, int timeout); | 226 | int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, |
227 | __u8 request, __u8 requesttype, __u16 value, __u16 index, | ||
228 | void *data, __u16 size, int timeout); | ||
232 | 229 | ||
233 | int snd_usb_create_mixer(snd_usb_audio_t *chip, int ctrlif); | 230 | int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif); |
234 | void snd_usb_mixer_disconnect(struct list_head *p); | 231 | void snd_usb_mixer_disconnect(struct list_head *p); |
235 | 232 | ||
236 | int snd_usb_create_midi_interface(snd_usb_audio_t *chip, struct usb_interface *iface, const snd_usb_audio_quirk_t *quirk); | 233 | int snd_usb_create_midi_interface(struct snd_usb_audio *chip, struct usb_interface *iface, |
234 | const struct snd_usb_audio_quirk *quirk); | ||
237 | void snd_usbmidi_input_stop(struct list_head* p); | 235 | void snd_usbmidi_input_stop(struct list_head* p); |
238 | void snd_usbmidi_input_start(struct list_head* p); | 236 | void snd_usbmidi_input_start(struct list_head* p); |
239 | void snd_usbmidi_disconnect(struct list_head *p); | 237 | void snd_usbmidi_disconnect(struct list_head *p); |