#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/gpio/driver.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/idr.h>
#include "mchp_pci1xxxx_gp.h"
struct aux_bus_device { … };
static DEFINE_IDA(gp_client_ida);
static const char aux_dev_otp_e2p_name[15] = …;
static const char aux_dev_gpio_name[15] = …;
static void gp_auxiliary_device_release(struct device *dev)
{ … }
static int gp_aux_bus_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void gp_aux_bus_remove(struct pci_dev *pdev)
{ … }
static const struct pci_device_id pci1xxxx_tbl[] = …;
MODULE_DEVICE_TABLE(pci, pci1xxxx_tbl);
static struct pci_driver pci1xxxx_gp_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;