#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include "bno055.h"
#define BNO055_I2C_XFER_BURST_BREAK_THRESHOLD …
static int bno055_i2c_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id bno055_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, bno055_i2c_id);
static const struct of_device_id __maybe_unused bno055_i2c_of_match[] = …;
MODULE_DEVICE_TABLE(of, bno055_i2c_of_match);
static struct i2c_driver bno055_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_IMPORT_NS(…);
MODULE_LICENSE(…) …;