#include <linux/dev_printk.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/string.h>
#include <linux/units.h>
#include "sc16is7xx.h"
#define SC16IS7XX_SPI_READ_BIT …
static int sc16is7xx_spi_probe(struct spi_device *spi)
{ … }
static void sc16is7xx_spi_remove(struct spi_device *spi)
{ … }
static const struct spi_device_id sc16is7xx_spi_id_table[] = …;
MODULE_DEVICE_TABLE(spi, sc16is7xx_spi_id_table);
static struct spi_driver sc16is7xx_spi_driver = …;
module_spi_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_IMPORT_NS(…);