#include <linux/module.h>
#include <linux/of.h>
#include <linux/spi/spi.h>
#include <linux/regmap.h>
#include "pcm179x.h"
static int pcm179x_spi_probe(struct spi_device *spi)
{ … }
static const struct of_device_id pcm179x_of_match[] __maybe_unused = …;
MODULE_DEVICE_TABLE(of, pcm179x_of_match);
static const struct spi_device_id pcm179x_spi_ids[] = …;
MODULE_DEVICE_TABLE(spi, pcm179x_spi_ids);
static struct spi_driver pcm179x_spi_driver = …;
module_spi_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;