aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/pdaudiocf/pdaudiocf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf.c')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c
index 2e1282de77d4..4df07fce637f 100644
--- a/sound/pcmcia/pdaudiocf/pdaudiocf.c
+++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c
@@ -143,8 +143,8 @@ static int snd_pdacf_probe(struct pcmcia_device *link)
143 link->resource[0]->end = 16; 143 link->resource[0]->end = 16;
144 144
145 link->conf.Attributes = CONF_ENABLE_IRQ | CONF_ENABLE_PULSE_IRQ; 145 link->conf.Attributes = CONF_ENABLE_IRQ | CONF_ENABLE_PULSE_IRQ;
146 link->conf.ConfigIndex = 1; 146 link->config_index = 1;
147 link->conf.Present = PRESENT_OPTION; 147 link->config_regs = PRESENT_OPTION;
148 148
149 return pdacf_config(link); 149 return pdacf_config(link);
150} 150}
@@ -216,7 +216,7 @@ static int pdacf_config(struct pcmcia_device *link)
216 int ret; 216 int ret;
217 217
218 snd_printdd(KERN_DEBUG "pdacf_config called\n"); 218 snd_printdd(KERN_DEBUG "pdacf_config called\n");
219 link->conf.ConfigIndex = 0x5; 219 link->config_index = 0x5;
220 220
221 ret = pcmcia_request_io(link); 221 ret = pcmcia_request_io(link);
222 if (ret) 222 if (ret)