#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/mfd/tps65912.h>
static const struct of_device_id tps65912_spi_of_match_table[] = …;
MODULE_DEVICE_TABLE(of, tps65912_spi_of_match_table);
static int tps65912_spi_probe(struct spi_device *spi)
{ … }
static const struct spi_device_id tps65912_spi_id_table[] = …;
MODULE_DEVICE_TABLE(spi, tps65912_spi_id_table);
static struct spi_driver tps65912_spi_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;