#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/acpi.h>
#include <linux/pci.h>
#include <linux/mfd/core.h>
#define SMBASE …
#define SMBUS_IO_SIZE …
#define GPIO_BASE …
#define GPIO_IO_SIZE …
#define GPIO_IO_SIZE_CENTERTON …
#define WDTBASE …
#define WDT_IO_SIZE …
enum sch_chipsets { … };
struct lpc_sch_info { … };
static struct lpc_sch_info sch_chipset_info[] = …;
static const struct pci_device_id lpc_sch_ids[] = …;
MODULE_DEVICE_TABLE(pci, lpc_sch_ids);
#define LPC_NO_RESOURCE …
#define LPC_SKIP_RESOURCE …
static int lpc_sch_get_io(struct pci_dev *pdev, int where, const char *name,
struct resource *res, int size)
{ … }
static int lpc_sch_populate_cell(struct pci_dev *pdev, int where,
const char *name, int size, int id,
struct mfd_cell *cell)
{ … }
static int lpc_sch_probe(struct pci_dev *dev, const struct pci_device_id *id)
{ … }
static void lpc_sch_remove(struct pci_dev *dev)
{ … }
static struct pci_driver lpc_sch_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;