aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/vx/vxpocket.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-08-23 09:50:41 -0400
committerJaroslav Kysela <perex@suse.cz>2005-08-30 02:47:10 -0400
commit328ac7da6f49f2c8b8af349fef525ad79b4a3987 (patch)
tree319816aeee907509043fb406ea1f0b8f96143b82 /sound/pcmcia/vx/vxpocket.c
parente0be4d32bdae5cebc4e6d9dc65886e279aa69d08 (diff)
[ALSA] vxpocket - Add missing event callback
Digigram VX Pocket driver Added the missing event callback. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pcmcia/vx/vxpocket.c')
-rw-r--r--sound/pcmcia/vx/vxpocket.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
index 3a82161d3b24..fcb952f94ef8 100644
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -376,7 +376,7 @@ static int vxpocket_event(event_t event, int priority, event_callback_args_t *ar
376 376
377/* 377/*
378 */ 378 */
379static dev_link_t *vxp_attach(void) 379static dev_link_t *vxpocket_attach(void)
380{ 380{
381 snd_card_t *card; 381 snd_card_t *card;
382 struct snd_vxpocket *vxp; 382 struct snd_vxpocket *vxp;
@@ -417,7 +417,7 @@ static dev_link_t *vxp_attach(void)
417 return &vxp->link; 417 return &vxp->link;
418} 418}
419 419
420static void vxp_detach(dev_link_t *link) 420static void vxpocket_detach(dev_link_t *link)
421{ 421{
422 struct snd_vxpocket *vxp; 422 struct snd_vxpocket *vxp;
423 vx_core_t *chip; 423 vx_core_t *chip;
@@ -458,8 +458,9 @@ static struct pcmcia_driver vxp_cs_driver = {
458 .drv = { 458 .drv = {
459 .name = "snd-vxpocket", 459 .name = "snd-vxpocket",
460 }, 460 },
461 .attach = vxp_attach, 461 .attach = vxpocket_attach,
462 .detach = vxp_detach, 462 .detach = vxpocket_detach,
463 .event = vxpocket_event,
463 .id_table = vxp_ids, 464 .id_table = vxp_ids,
464}; 465};
465 466