@@ -81,7 +81,7 @@ MODULE_PARM_DESC(fm_port, "FM port #.");
8181module_param_array (use_cs4232_midi , bool , NULL , 0444 );
8282MODULE_PARM_DESC (use_cs4232_midi , "Use CS4232 MPU-401 interface (inaccessibly located inside your computer)" );
8383
84- static snd_card_t * snd_wavefront_legacy [SNDRV_CARDS ] = SNDRV_DEFAULT_PTR ;
84+ static struct snd_card * snd_wavefront_legacy [SNDRV_CARDS ] = SNDRV_DEFAULT_PTR ;
8585
8686#ifdef CONFIG_PNP
8787
@@ -279,12 +279,12 @@ static irqreturn_t snd_wavefront_ics2115_interrupt(int irq,
279279 return IRQ_HANDLED ;
280280}
281281
282- static snd_hwdep_t * __devinit
283- snd_wavefront_new_synth (snd_card_t * card ,
282+ static struct snd_hwdep * __devinit
283+ snd_wavefront_new_synth (struct snd_card * card ,
284284 int hw_dev ,
285285 snd_wavefront_card_t * acard )
286286{
287- snd_hwdep_t * wavefront_synth ;
287+ struct snd_hwdep * wavefront_synth ;
288288
289289 if (snd_wavefront_detect (acard ) < 0 ) {
290290 return NULL ;
@@ -305,14 +305,14 @@ snd_wavefront_new_synth (snd_card_t *card,
305305 return wavefront_synth ;
306306}
307307
308- static snd_hwdep_t * __devinit
309- snd_wavefront_new_fx (snd_card_t * card ,
308+ static struct snd_hwdep * __devinit
309+ snd_wavefront_new_fx (struct snd_card * card ,
310310 int hw_dev ,
311311 snd_wavefront_card_t * acard ,
312312 unsigned long port )
313313
314314{
315- snd_hwdep_t * fx_processor ;
315+ struct snd_hwdep * fx_processor ;
316316
317317 if (snd_wavefront_fx_start (& acard -> wavefront )) {
318318 snd_printk ("cannot initialize YSS225 FX processor" );
@@ -332,15 +332,15 @@ snd_wavefront_new_fx (snd_card_t *card,
332332static snd_wavefront_mpu_id internal_id = internal_mpu ;
333333static snd_wavefront_mpu_id external_id = external_mpu ;
334334
335- static snd_rawmidi_t * __devinit
336- snd_wavefront_new_midi (snd_card_t * card ,
335+ static struct snd_rawmidi * __devinit
336+ snd_wavefront_new_midi (struct snd_card * card ,
337337 int midi_dev ,
338338 snd_wavefront_card_t * acard ,
339339 unsigned long port ,
340340 snd_wavefront_mpu_id mpu )
341341
342342{
343- snd_rawmidi_t * rmidi ;
343+ struct snd_rawmidi * rmidi ;
344344 static int first = 1 ;
345345
346346 if (first ) {
@@ -374,7 +374,7 @@ snd_wavefront_new_midi (snd_card_t *card,
374374}
375375
376376static void
377- snd_wavefront_free (snd_card_t * card )
377+ snd_wavefront_free (struct snd_card * card )
378378{
379379 snd_wavefront_card_t * acard = (snd_wavefront_card_t * )card -> private_data ;
380380
@@ -389,13 +389,13 @@ static int __devinit
389389snd_wavefront_probe (int dev , struct pnp_card_link * pcard ,
390390 const struct pnp_card_device_id * pid )
391391{
392- snd_card_t * card ;
392+ struct snd_card * card ;
393393 snd_wavefront_card_t * acard ;
394- cs4231_t * chip ;
395- snd_hwdep_t * wavefront_synth ;
396- snd_rawmidi_t * ics2115_internal_rmidi = NULL ;
397- snd_rawmidi_t * ics2115_external_rmidi = NULL ;
398- snd_hwdep_t * fx_processor ;
394+ struct snd_cs4231 * chip ;
395+ struct snd_hwdep * wavefront_synth ;
396+ struct snd_rawmidi * ics2115_internal_rmidi = NULL ;
397+ struct snd_rawmidi * ics2115_external_rmidi = NULL ;
398+ struct snd_hwdep * fx_processor ;
399399 int hw_dev = 0 , midi_dev = 0 , err ;
400400
401401#ifdef CONFIG_PNP
@@ -467,7 +467,7 @@ snd_wavefront_probe (int dev, struct pnp_card_link *pcard,
467467 /* ---------- OPL3 synth --------- */
468468
469469 if (fm_port [dev ] > 0 && fm_port [dev ] != SNDRV_AUTO_PORT ) {
470- opl3_t * opl3 ;
470+ struct snd_opl3 * opl3 ;
471471
472472 if ((err = snd_opl3_create (card ,
473473 fm_port [dev ],
@@ -658,7 +658,7 @@ static int __devinit snd_wavefront_pnp_detect(struct pnp_card_link *card,
658658
659659static void __devexit snd_wavefront_pnp_remove (struct pnp_card_link * pcard )
660660{
661- snd_card_t * card = (snd_card_t * ) pnp_get_card_drvdata (pcard );
661+ struct snd_card * card = (struct snd_card * ) pnp_get_card_drvdata (pcard );
662662
663663 snd_card_disconnect (card );
664664 snd_card_free_in_thread (card );
0 commit comments