#include <linux/spi/spi.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <sound/soc.h>
#include "tlv320aic3x.h"
static int aic3x_spi_probe(struct spi_device *spi)
{ … }
static void aic3x_spi_remove(struct spi_device *spi)
{ … }
static const struct spi_device_id aic3x_spi_id[] = …;
MODULE_DEVICE_TABLE(spi, aic3x_spi_id);
static const struct of_device_id aic3x_of_id[] = …;
MODULE_DEVICE_TABLE(of, aic3x_of_id);
static struct spi_driver aic3x_spi_driver = …;
module_spi_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;