#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
#include <linux/property.h>
#include "inv_icm42600.h"
static int inv_icm42600_i2c_bus_setup(struct inv_icm42600_state *st)
{ … }
static int inv_icm42600_probe(struct i2c_client *client)
{ … }
static const struct of_device_id inv_icm42600_of_matches[] = …;
MODULE_DEVICE_TABLE(of, inv_icm42600_of_matches);
static struct i2c_driver inv_icm42600_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);