summaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/usbusx2y.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 15:08:26 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:19:56 +0100
commitbbe85bbd02b2220c819ad1e33c9d6327131ad281 (patch)
treef22dffee1b6211dae18ac7946facbb7add845ca3 /sound/usb/usx2y/usbusx2y.h
parent86e07d34658bb85b3424f4db64fa28f884edbe8d (diff)
downloadkernel-crypto-bbe85bbd02b2220c819ad1e33c9d6327131ad281.tar.gz
kernel-crypto-bbe85bbd02b2220c819ad1e33c9d6327131ad281.tar.xz
kernel-crypto-bbe85bbd02b2220c819ad1e33c9d6327131ad281.zip
[ALSA] Remove xxx_t typedefs: USB-USX2Y
Modules: USB USX2Y Remove xxx_t typedefs from the USB-USX2Y driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/usbusx2y.h')
-rw-r--r--sound/usb/usx2y/usbusx2y.h45
1 files changed, 22 insertions, 23 deletions
diff --git a/sound/usb/usx2y/usbusx2y.h b/sound/usb/usx2y/usbusx2y.h
index f65f3a7194c..435c1feda9d 100644
--- a/sound/usb/usx2y/usbusx2y.h
+++ b/sound/usb/usx2y/usbusx2y.h
@@ -8,47 +8,46 @@
#define URBS_AsyncSeq 10
#define URB_DataLen_AsyncSeq 32
-typedef struct {
- struct urb* urb[URBS_AsyncSeq];
- char* buffer;
-} snd_usX2Y_AsyncSeq_t;
+struct snd_usX2Y_AsyncSeq {
+ struct urb *urb[URBS_AsyncSeq];
+ char *buffer;
+};
-typedef struct {
+struct snd_usX2Y_urbSeq {
int submitted;
int len;
- struct urb* urb[0];
-} snd_usX2Y_urbSeq_t;
+ struct urb *urb[0];
+};
-typedef struct snd_usX2Y_substream snd_usX2Y_substream_t;
#include "usx2yhwdeppcm.h"
-typedef struct {
- snd_usb_audio_t chip;
+struct usX2Ydev {
+ struct snd_usb_audio chip;
int stride;
struct urb *In04urb;
void *In04Buf;
char In04Last[24];
unsigned In04IntCalls;
- snd_usX2Y_urbSeq_t *US04;
+ struct snd_usX2Y_urbSeq *US04;
wait_queue_head_t In04WaitQueue;
- snd_usX2Y_AsyncSeq_t AS04;
+ struct snd_usX2Y_AsyncSeq AS04;
unsigned int rate,
format;
int chip_status;
struct semaphore prepare_mutex;
- us428ctls_sharedmem_t *us428ctls_sharedmem;
+ struct us428ctls_sharedmem *us428ctls_sharedmem;
int wait_iso_frame;
wait_queue_head_t us428ctls_wait_queue_head;
- snd_usX2Y_hwdep_pcm_shm_t *hwdep_pcm_shm;
- snd_usX2Y_substream_t *subs[4];
- snd_usX2Y_substream_t * volatile prepare_subs;
+ struct snd_usX2Y_hwdep_pcm_shm *hwdep_pcm_shm;
+ struct snd_usX2Y_substream *subs[4];
+ struct snd_usX2Y_substream * volatile prepare_subs;
wait_queue_head_t prepare_wait_queue;
-} usX2Ydev_t;
+};
struct snd_usX2Y_substream {
- usX2Ydev_t *usX2Y;
- snd_pcm_substream_t *pcm_substream;
+ struct usX2Ydev *usX2Y;
+ struct snd_pcm_substream *pcm_substream;
int endpoint;
unsigned int maxpacksize; /* max packet size in bytes */
@@ -72,12 +71,12 @@ struct snd_usX2Y_substream {
};
-#define usX2Y(c) ((usX2Ydev_t*)(c)->private_data)
+#define usX2Y(c) ((struct usX2Ydev *)(c)->private_data)
-int usX2Y_audio_create(snd_card_t* card);
+int usX2Y_audio_create(struct snd_card *card);
-int usX2Y_AsyncSeq04_init(usX2Ydev_t* usX2Y);
-int usX2Y_In04_init(usX2Ydev_t* usX2Y);
+int usX2Y_AsyncSeq04_init(struct usX2Ydev *usX2Y);
+int usX2Y_In04_init(struct usX2Ydev *usX2Y);
#define NAME_ALLCAPS "US-X2Y"