[ALSA] vxpocket - Fix wrong index assignment
Takashi Iwai [Tue, 23 Aug 2005 17:01:38 +0000 (19:01 +0200)]
Digigram VX Pocket driver
Fixed the wrong index number assignment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

sound/pcmcia/vx/vxpocket.c

index fcb952f..de5bb9c 100644 (file)
@@ -407,7 +407,7 @@ static dev_link_t *vxpocket_attach(void)
                return NULL;
        }
 
-       vxp->index = index[i];
+       vxp->index = i;
        card_alloc |= 1 << i;
 
        /* Chain drivers */