aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/pdaudiocf/pdaudiocf.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 09:07:38 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:19:52 -0500
commitdb13154843cb2c99a93e9feed575e906f6e0e455 (patch)
tree8249fdd690638c3ea7f3865b1889ccafd8a7a7ae /sound/pcmcia/pdaudiocf/pdaudiocf.c
parente437e3d7c7fb656010f8f767d20215e67b847685 (diff)
[ALSA] Remove xxx_t typedefs: PCMCIA PDaudioCF
Modules: PDAudioCF driver Remove xxx_t typedefs from the PCMCIA PDaudioCF driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf.c')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c
index d6918b453f28..0ba335d045f8 100644
--- a/sound/pcmcia/pdaudiocf/pdaudiocf.c
+++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(enable, "Enable " CARD_NAME " soundcard.");
53 */ 53 */
54 54
55static dev_info_t dev_info = "snd-pdaudiocf"; 55static dev_info_t dev_info = "snd-pdaudiocf";
56static snd_card_t *card_list[SNDRV_CARDS]; 56static struct snd_card *card_list[SNDRV_CARDS];
57static dev_link_t *dev_list; 57static dev_link_t *dev_list;
58 58
59/* 59/*
@@ -77,7 +77,7 @@ static void pdacf_release(dev_link_t *link)
77/* 77/*
78 * destructor 78 * destructor
79 */ 79 */
80static int snd_pdacf_free(pdacf_t *pdacf) 80static int snd_pdacf_free(struct snd_pdacf *pdacf)
81{ 81{
82 dev_link_t *link = &pdacf->link; 82 dev_link_t *link = &pdacf->link;
83 83
@@ -94,9 +94,9 @@ static int snd_pdacf_free(pdacf_t *pdacf)
94 return 0; 94 return 0;
95} 95}
96 96
97static int snd_pdacf_dev_free(snd_device_t *device) 97static int snd_pdacf_dev_free(struct snd_device *device)
98{ 98{
99 pdacf_t *chip = device->device_data; 99 struct snd_pdacf *chip = device->device_data;
100 return snd_pdacf_free(chip); 100 return snd_pdacf_free(chip);
101} 101}
102 102
@@ -108,9 +108,9 @@ static dev_link_t *snd_pdacf_attach(void)
108 client_reg_t client_reg; /* Register with cardmgr */ 108 client_reg_t client_reg; /* Register with cardmgr */
109 dev_link_t *link; /* Info for cardmgr */ 109 dev_link_t *link; /* Info for cardmgr */
110 int i, ret; 110 int i, ret;
111 pdacf_t *pdacf; 111 struct snd_pdacf *pdacf;
112 snd_card_t *card; 112 struct snd_card *card;
113 static snd_device_ops_t ops = { 113 static struct snd_device_ops ops = {
114 .dev_free = snd_pdacf_dev_free, 114 .dev_free = snd_pdacf_dev_free,
115 }; 115 };
116 116
@@ -194,10 +194,10 @@ static dev_link_t *snd_pdacf_attach(void)
194 * 194 *
195 * returns 0 if successful, or a negative error code. 195 * returns 0 if successful, or a negative error code.
196 */ 196 */
197static int snd_pdacf_assign_resources(pdacf_t *pdacf, int port, int irq) 197static int snd_pdacf_assign_resources(struct snd_pdacf *pdacf, int port, int irq)
198{ 198{
199 int err; 199 int err;
200 snd_card_t *card = pdacf->card; 200 struct snd_card *card = pdacf->card;
201 201
202 snd_printdd(KERN_DEBUG "pdacf assign resources: port = 0x%x, irq = %d\n", port, irq); 202 snd_printdd(KERN_DEBUG "pdacf assign resources: port = 0x%x, irq = %d\n", port, irq);
203 pdacf->port = port; 203 pdacf->port = port;
@@ -231,7 +231,7 @@ static int snd_pdacf_assign_resources(pdacf_t *pdacf, int port, int irq)
231 */ 231 */
232static void snd_pdacf_detach(dev_link_t *link) 232static void snd_pdacf_detach(dev_link_t *link)
233{ 233{
234 pdacf_t *chip = link->priv; 234 struct snd_pdacf *chip = link->priv;
235 235
236 snd_printdd(KERN_DEBUG "pdacf_detach called\n"); 236 snd_printdd(KERN_DEBUG "pdacf_detach called\n");
237 /* Remove the interface data from the linked list */ 237 /* Remove the interface data from the linked list */
@@ -261,7 +261,7 @@ do { last_fn = (fn); if ((last_ret = (ret)) != 0) goto cs_failed; } while (0)
261static void pdacf_config(dev_link_t *link) 261static void pdacf_config(dev_link_t *link)
262{ 262{
263 client_handle_t handle = link->handle; 263 client_handle_t handle = link->handle;
264 pdacf_t *pdacf = link->priv; 264 struct snd_pdacf *pdacf = link->priv;
265 tuple_t tuple; 265 tuple_t tuple;
266 cisparse_t *parse = NULL; 266 cisparse_t *parse = NULL;
267 config_info_t conf; 267 config_info_t conf;
@@ -318,7 +318,7 @@ failed:
318static int pdacf_event(event_t event, int priority, event_callback_args_t *args) 318static int pdacf_event(event_t event, int priority, event_callback_args_t *args)
319{ 319{
320 dev_link_t *link = args->client_data; 320 dev_link_t *link = args->client_data;
321 pdacf_t *chip = link->priv; 321 struct snd_pdacf *chip = link->priv;
322 322
323 switch (event) { 323 switch (event) {
324 case CS_EVENT_CARD_REMOVAL: 324 case CS_EVENT_CARD_REMOVAL: