#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/kmod.h>
#include <linux/sound.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/dma-mapping.h>
#include <linux/pci_ids.h>
#include <linux/pm.h>
#include <media/v4l2-dev.h>
#include "tw68.h"
#include "tw68-reg.h"
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
static unsigned int latency = …;
module_param(latency, int, 0444);
MODULE_PARM_DESC(…) …;
static unsigned int video_nr[] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
static unsigned int card[] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
static atomic_t tw68_instance = …;
static const struct pci_device_id tw68_pci_tbl[] = …;
static int tw68_hw_init1(struct tw68_dev *dev)
{ … }
static irqreturn_t tw68_irq(int irq, void *dev_id)
{ … }
static int tw68_initdev(struct pci_dev *pci_dev,
const struct pci_device_id *pci_id)
{ … }
static void tw68_finidev(struct pci_dev *pci_dev)
{ … }
static int __maybe_unused tw68_suspend(struct device *dev_d)
{ … }
static int __maybe_unused tw68_resume(struct device *dev_d)
{ … }
static SIMPLE_DEV_PM_OPS(tw68_pm_ops, tw68_suspend, tw68_resume);
static struct pci_driver tw68_pci_driver = …;
module_pci_driver(…) …;