Skip to content

Commit

Permalink
[ALSA] vxpocket - Add missing event callback
Browse files Browse the repository at this point in the history
Digigram VX Pocket driver
Added the missing event callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Aug 30, 2005
1 parent e0be4d3 commit 328ac7d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sound/pcmcia/vx/vxpocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static int vxpocket_event(event_t event, int priority, event_callback_args_t *ar

/*
*/
static dev_link_t *vxp_attach(void)
static dev_link_t *vxpocket_attach(void)
{
snd_card_t *card;
struct snd_vxpocket *vxp;
Expand Down Expand Up @@ -417,7 +417,7 @@ static dev_link_t *vxp_attach(void)
return &vxp->link;
}

static void vxp_detach(dev_link_t *link)
static void vxpocket_detach(dev_link_t *link)
{
struct snd_vxpocket *vxp;
vx_core_t *chip;
Expand Down Expand Up @@ -458,8 +458,9 @@ static struct pcmcia_driver vxp_cs_driver = {
.drv = {
.name = "snd-vxpocket",
},
.attach = vxp_attach,
.detach = vxp_detach,
.attach = vxpocket_attach,
.detach = vxpocket_detach,
.event = vxpocket_event,
.id_table = vxp_ids,
};

Expand Down

0 comments on commit 328ac7d

Please sign in to comment.