#include <linux/init.h>
#include <linux/module.h>
#include <linux/spi/spi.h>
#include "pcm186x.h"
static const struct of_device_id pcm186x_of_match[] = …;
MODULE_DEVICE_TABLE(of, pcm186x_of_match);
static int pcm186x_spi_probe(struct spi_device *spi)
{ … }
static const struct spi_device_id pcm186x_spi_id[] = …;
MODULE_DEVICE_TABLE(spi, pcm186x_spi_id);
static struct spi_driver pcm186x_spi_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;