#include <linux/module.h>
#include <linux/pci.h>
#include "spi-intel.h"
#define BCR …
#define BCR_WPD …
static bool intel_spi_pci_set_writeable(void __iomem *base, void *data)
{ … }
static const struct intel_spi_boardinfo bxt_info = …;
static const struct intel_spi_boardinfo cnl_info = …;
static int intel_spi_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id intel_spi_pci_ids[] = …;
MODULE_DEVICE_TABLE(pci, intel_spi_pci_ids);
static struct pci_driver intel_spi_pci_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;