Commit e9a07afd authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for vxpocket.c

Add pcmcia_device_id table.
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 11d28a30
...@@ -18,17 +18,6 @@ ...@@ -18,17 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/*
please add the following as /etc/pcmcia/vxpocket.conf:
device "snd-vxpocket"
class "audio" module "snd-vxpocket"
card "Digigram VX-POCKET"
manfid 0x01f1, 0x0100
bind "snd-vxpocket"
*/
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/init.h> #include <linux/init.h>
...@@ -140,13 +129,20 @@ static void vxp_detach(dev_link_t *link) ...@@ -140,13 +129,20 @@ static void vxp_detach(dev_link_t *link)
* Module entry points * Module entry points
*/ */
static struct pcmcia_device_id vxp_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x01f1, 0x0100),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, vxp_ids);
static struct pcmcia_driver vxp_cs_driver = { static struct pcmcia_driver vxp_cs_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
.name = DEV_INFO, .name = DEV_INFO,
}, },
.attach = vxp_attach, .attach = vxp_attach,
.detach = vxp_detach .detach = vxp_detach,
.id_table = vxp_ids,
}; };
static int __init init_vxpocket(void) static int __init init_vxpocket(void)
......
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