linux/drivers/tty/serial/sc16is7xx_spi.c

// SPDX-License-Identifier: GPL-2.0+
/* SC16IS7xx SPI interface driver */

#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"

/* SPI definitions */
#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();