Commit 328ac7da authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] vxpocket - Add missing event callback

Digigram VX Pocket driver
Added the missing event callback.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e0be4d32
...@@ -376,7 +376,7 @@ static int vxpocket_event(event_t event, int priority, event_callback_args_t *ar ...@@ -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; snd_card_t *card;
struct snd_vxpocket *vxp; struct snd_vxpocket *vxp;
...@@ -417,7 +417,7 @@ static dev_link_t *vxp_attach(void) ...@@ -417,7 +417,7 @@ static dev_link_t *vxp_attach(void)
return &vxp->link; return &vxp->link;
} }
static void vxp_detach(dev_link_t *link) static void vxpocket_detach(dev_link_t *link)
{ {
struct snd_vxpocket *vxp; struct snd_vxpocket *vxp;
vx_core_t *chip; vx_core_t *chip;
...@@ -458,8 +458,9 @@ static struct pcmcia_driver vxp_cs_driver = { ...@@ -458,8 +458,9 @@ static struct pcmcia_driver vxp_cs_driver = {
.drv = { .drv = {
.name = "snd-vxpocket", .name = "snd-vxpocket",
}, },
.attach = vxp_attach, .attach = vxpocket_attach,
.detach = vxp_detach, .detach = vxpocket_detach,
.event = vxpocket_event,
.id_table = vxp_ids, .id_table = vxp_ids,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment