#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "mt76x2.h"
static const struct pci_device_id mt76x2e_device_table[] = …;
static int
mt76x2e_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void
mt76x2e_remove(struct pci_dev *pdev)
{ … }
static int __maybe_unused
mt76x2e_suspend(struct pci_dev *pdev, pm_message_t state)
{ … }
static int __maybe_unused
mt76x2e_resume(struct pci_dev *pdev)
{ … }
MODULE_DEVICE_TABLE(pci, mt76x2e_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static struct pci_driver mt76pci_driver = …;
module_pci_driver(…) …;