#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/mod_devicetable.h>
#include "zpa2326.h"
static const struct regmap_config zpa2326_regmap_spi_config = …;
static int zpa2326_probe_spi(struct spi_device *spi)
{ … }
static void zpa2326_remove_spi(struct spi_device *spi)
{ … }
static const struct spi_device_id zpa2326_spi_ids[] = …;
MODULE_DEVICE_TABLE(spi, zpa2326_spi_ids);
static const struct of_device_id zpa2326_spi_matches[] = …;
MODULE_DEVICE_TABLE(of, zpa2326_spi_matches);
static struct spi_driver zpa2326_spi_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);