#include <sound/core.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <pcmcia/ciscode.h>
#include <pcmcia/cisreg.h>
#include "pdaudiocf.h"
#include <sound/initval.h>
#include <linux/init.h>
#define CARD_NAME …
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static int index[SNDRV_CARDS] = …;
static char *id[SNDRV_CARDS] = …;
static bool enable[SNDRV_CARDS] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
static struct snd_card *card_list[SNDRV_CARDS];
static int pdacf_config(struct pcmcia_device *link);
static void snd_pdacf_detach(struct pcmcia_device *p_dev);
static void pdacf_release(struct pcmcia_device *link)
{ … }
static int snd_pdacf_free(struct snd_pdacf *pdacf)
{ … }
static int snd_pdacf_dev_free(struct snd_device *device)
{ … }
static int snd_pdacf_probe(struct pcmcia_device *link)
{ … }
static int snd_pdacf_assign_resources(struct snd_pdacf *pdacf, int port, int irq)
{ … }
static void snd_pdacf_detach(struct pcmcia_device *link)
{ … }
static int pdacf_config(struct pcmcia_device *link)
{ … }
#ifdef CONFIG_PM
static int pdacf_suspend(struct pcmcia_device *link)
{ … }
static int pdacf_resume(struct pcmcia_device *link)
{ … }
#endif
static const struct pcmcia_device_id snd_pdacf_ids[] = …;
MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids);
static struct pcmcia_driver pdacf_cs_driver = …;
module_pcmcia_driver(…);