tree 319816aeee907509043fb406ea1f0b8f96143b82
parent e0be4d32bdae5cebc4e6d9dc65886e279aa69d08
author Takashi Iwai <[EMAIL PROTECTED]> Tue, 23 Aug 2005 15:50:41 +0200
committer Jaroslav Kysela <[EMAIL PROTECTED]> Tue, 30 Aug 2005 08:47:10 +0200

[ALSA] vxpocket - Add missing event callback

Digigram VX Pocket driver
Added the missing event callback.

Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>

 sound/pcmcia/vx/vxpocket.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -376,7 +376,7 @@ static int vxpocket_event(event_t event,
 
 /*
  */
-static dev_link_t *vxp_attach(void)
+static dev_link_t *vxpocket_attach(void)
 {
        snd_card_t *card;
        struct snd_vxpocket *vxp;
@@ -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;
@@ -458,8 +458,9 @@ static struct pcmcia_driver vxp_cs_drive
        .drv            = {
                .name   = "snd-vxpocket",
        },
-       .attach         = vxp_attach,
-       .detach         = vxp_detach,
+       .attach         = vxpocket_attach,
+       .detach         = vxpocket_detach,
+       .event          = vxpocket_event,
        .id_table       = vxp_ids,
 };
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to