diff options
Diffstat (limited to 'sound/pcmcia/vx/vxpocket.c')
-rw-r--r-- | sound/pcmcia/vx/vxpocket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index 16186adc1bdc..017a8d6c510d 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * Driver for Digigram VXpocket V2/440 soundcards | 2 | * Driver for Digigram VXpocket V2/440 soundcards |
3 | * | 3 | * |
4 | * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de> | 4 | * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de> |
5 | * | 5 | |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |
@@ -162,7 +162,7 @@ static int snd_vxpocket_new(struct snd_card *card, int ibl, | |||
162 | link->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; | 162 | link->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; |
163 | link->resource[0]->end = 16; | 163 | link->resource[0]->end = 16; |
164 | 164 | ||
165 | link->conf.Attributes = CONF_ENABLE_IRQ; | 165 | link->config_flags |= CONF_ENABLE_IRQ; |
166 | link->config_index = 1; | 166 | link->config_index = 1; |
167 | link->config_regs = PRESENT_OPTION; | 167 | link->config_regs = PRESENT_OPTION; |
168 | 168 | ||
@@ -233,7 +233,7 @@ static int vxpocket_config(struct pcmcia_device *link) | |||
233 | if (ret) | 233 | if (ret) |
234 | goto failed; | 234 | goto failed; |
235 | 235 | ||
236 | ret = pcmcia_request_configuration(link, &link->conf); | 236 | ret = pcmcia_enable_device(link); |
237 | if (ret) | 237 | if (ret) |
238 | goto failed; | 238 | goto failed; |
239 | 239 | ||