aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/es968.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/sb/es968.c')
-rw-r--r--sound/isa/sb/es968.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/isa/sb/es968.c b/sound/isa/sb/es968.c
index c859917c14db..f7d1afe83dfe 100644
--- a/sound/isa/sb/es968.c
+++ b/sound/isa/sb/es968.c
@@ -72,7 +72,7 @@ MODULE_DEVICE_TABLE(pnp_card, snd_es968_pnpids);
72static irqreturn_t snd_card_es968_interrupt(int irq, void *dev_id, 72static irqreturn_t snd_card_es968_interrupt(int irq, void *dev_id,
73 struct pt_regs *regs) 73 struct pt_regs *regs)
74{ 74{
75 sb_t *chip = dev_id; 75 struct snd_sb *chip = dev_id;
76 76
77 if (chip->open & SB_OPEN_PCM) { 77 if (chip->open & SB_OPEN_PCM) {
78 return snd_sb8dsp_interrupt(chip); 78 return snd_sb8dsp_interrupt(chip);
@@ -128,8 +128,8 @@ static int __init snd_card_es968_probe(int dev,
128 const struct pnp_card_device_id *pid) 128 const struct pnp_card_device_id *pid)
129{ 129{
130 int error; 130 int error;
131 sb_t *chip; 131 struct snd_sb *chip;
132 snd_card_t *card; 132 struct snd_card *card;
133 struct snd_card_es968 *acard; 133 struct snd_card_es968 *acard;
134 134
135 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE, 135 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE,
@@ -200,7 +200,7 @@ static int __devinit snd_es968_pnp_detect(struct pnp_card_link *card,
200 200
201static void __devexit snd_es968_pnp_remove(struct pnp_card_link * pcard) 201static void __devexit snd_es968_pnp_remove(struct pnp_card_link * pcard)
202{ 202{
203 snd_card_t *card = (snd_card_t *) pnp_get_card_drvdata(pcard); 203 struct snd_card *card = (struct snd_card *) pnp_get_card_drvdata(pcard);
204 204
205 snd_card_disconnect(card); 205 snd_card_disconnect(card);
206 snd_card_free_in_thread(card); 206 snd_card_free_in_thread(card);