linux/drivers/gpio/gpio-pci-idio-16.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * GPIO driver for the ACCES PCI-IDIO-16
 * Copyright (C) 2017 William Breathitt Gray
 */
#include <linux/bits.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/regmap.h>
#include <linux/types.h>

#include "gpio-idio-16.h"

static const struct regmap_range idio_16_wr_ranges[] =;
static const struct regmap_range idio_16_rd_ranges[] =;
static const struct regmap_range idio_16_precious_ranges[] =;
static const struct regmap_access_table idio_16_wr_table =;
static const struct regmap_access_table idio_16_rd_table =;
static const struct regmap_access_table idio_16_precious_table =;
static const struct regmap_config idio_16_regmap_config =;

/* Only input lines (GPIO 16-31) support interrupts */
#define IDIO_16_REGMAP_IRQ(_id)

static const struct regmap_irq idio_16_regmap_irqs[] =;

static int idio_16_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{}

static const struct pci_device_id idio_16_pci_dev_id[] =;
MODULE_DEVICE_TABLE(pci, idio_16_pci_dev_id);

static struct pci_driver idio_16_driver =;

module_pci_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();