From: Takashi Iwai Date: Tue, 23 Aug 2005 17:27:31 +0000 (+0200) Subject: [ALSA] vxpocket - Register device pointer X-Git-Tag: v2.6.14-rc1~1029^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5ba094dbf14828858cdff27c8201df33b7a0bc96;p=linux-2.6-omap-h63xx.git [ALSA] vxpocket - Register device pointer Digigram VX Pocket driver Add snd_card_set_dev() to register the device pointer. Signed-off-by: Takashi Iwai --- diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index de5bb9c26b7..1e8f16b4c07 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c @@ -297,6 +297,7 @@ static void vxpocket_config(dev_link_t *link) CS_CHECK(RequestConfiguration, pcmcia_request_configuration(link->handle, &link->conf)); chip->dev = &handle_to_dev(link->handle); + snd_card_set_dev(chip->card, chip->dev); if (snd_vxpocket_assign_resources(chip, link->io.BasePort1, link->irq.AssignedIRQ) < 0) goto failed;