#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
#include <linux/iio/iio.h>
#include <linux/iio/triggered_buffer.h>
#include "hmc5843.h"
static const struct regmap_range hmc5843_readable_ranges[] = …;
static const struct regmap_access_table hmc5843_readable_table = …;
static const struct regmap_range hmc5843_writable_ranges[] = …;
static const struct regmap_access_table hmc5843_writable_table = …;
static const struct regmap_range hmc5843_volatile_ranges[] = …;
static const struct regmap_access_table hmc5843_volatile_table = …;
static const struct regmap_config hmc5843_i2c_regmap_config = …;
static int hmc5843_i2c_probe(struct i2c_client *cli)
{ … }
static void hmc5843_i2c_remove(struct i2c_client *client)
{ … }
static const struct i2c_device_id hmc5843_id[] = …;
MODULE_DEVICE_TABLE(i2c, hmc5843_id);
static const struct of_device_id hmc5843_of_match[] = …;
MODULE_DEVICE_TABLE(of, hmc5843_of_match);
static struct i2c_driver hmc5843_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);