aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/dt019x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/dt019x.c')
-rw-r--r--sound/isa/dt019x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/isa/dt019x.c b/sound/isa/dt019x.c
index db7c3397b323..7559956157e9 100644
--- a/sound/isa/dt019x.c
+++ b/sound/isa/dt019x.c
@@ -188,10 +188,10 @@ static int __devinit snd_card_dt019x_pnp(int dev, struct snd_card_dt019x *acard,
188static int __devinit snd_card_dt019x_probe(int dev, struct pnp_card_link *pcard, const struct pnp_card_device_id *pid) 188static int __devinit snd_card_dt019x_probe(int dev, struct pnp_card_link *pcard, const struct pnp_card_device_id *pid)
189{ 189{
190 int error; 190 int error;
191 sb_t *chip; 191 struct snd_sb *chip;
192 snd_card_t *card; 192 struct snd_card *card;
193 struct snd_card_dt019x *acard; 193 struct snd_card_dt019x *acard;
194 opl3_t *opl3; 194 struct snd_opl3 *opl3;
195 195
196 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE, 196 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE,
197 sizeof(struct snd_card_dt019x))) == NULL) 197 sizeof(struct snd_card_dt019x))) == NULL)
@@ -290,7 +290,7 @@ static int __devinit snd_dt019x_pnp_probe(struct pnp_card_link *card,
290 290
291static void __devexit snd_dt019x_pnp_remove(struct pnp_card_link * pcard) 291static void __devexit snd_dt019x_pnp_remove(struct pnp_card_link * pcard)
292{ 292{
293 snd_card_t *card = (snd_card_t *) pnp_get_card_drvdata(pcard); 293 struct snd_card *card = (struct snd_card *) pnp_get_card_drvdata(pcard);
294 snd_card_disconnect(card); 294 snd_card_disconnect(card);
295 snd_card_free_in_thread(card); 295 snd_card_free_in_thread(card);
296} 296}