aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/pdaudiocf/pdaudiocf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf.c')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c
index 2d4f8e28478b..d6918b453f28 100644
--- a/sound/pcmcia/pdaudiocf/pdaudiocf.c
+++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c
@@ -22,7 +22,6 @@
22#include <sound/core.h> 22#include <sound/core.h>
23#include <linux/slab.h> 23#include <linux/slab.h>
24#include <linux/moduleparam.h> 24#include <linux/moduleparam.h>
25#include <pcmcia/version.h>
26#include <pcmcia/ciscode.h> 25#include <pcmcia/ciscode.h>
27#include <pcmcia/cisreg.h> 26#include <pcmcia/cisreg.h>
28#include "pdaudiocf.h" 27#include "pdaudiocf.h"
@@ -171,14 +170,6 @@ static dev_link_t *snd_pdacf_attach(void)
171 170
172 /* Register with Card Services */ 171 /* Register with Card Services */
173 client_reg.dev_info = &dev_info; 172 client_reg.dev_info = &dev_info;
174 client_reg.EventMask =
175 CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL
176#ifdef CONFIG_PM
177 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET
178 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME
179#endif
180 ;
181 client_reg.event_handler = &pdacf_event;
182 client_reg.Version = 0x0210; 173 client_reg.Version = 0x0210;
183 client_reg.event_callback_args.client_data = link; 174 client_reg.event_callback_args.client_data = link;
184 175
@@ -387,12 +378,13 @@ static struct pcmcia_device_id snd_pdacf_ids[] = {
387MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids); 378MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids);
388 379
389static struct pcmcia_driver pdacf_cs_driver = { 380static struct pcmcia_driver pdacf_cs_driver = {
390 .owner = THIS_MODULE, 381 .owner = THIS_MODULE,
391 .drv = { 382 .drv = {
392 .name = "snd-pdaudiocf", 383 .name = "snd-pdaudiocf",
393 }, 384 },
394 .attach = snd_pdacf_attach, 385 .attach = snd_pdacf_attach,
395 .detach = snd_pdacf_detach, 386 .event = pdacf_event,
387 .detach = snd_pdacf_detach,
396 .id_table = snd_pdacf_ids, 388 .id_table = snd_pdacf_ids,
397}; 389};
398 390