#include <linux/device.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/types.h>
#include "mprls0025pa.h"
static int mpr_i2c_init(struct device *unused)
{ … }
static int mpr_i2c_read(struct mpr_data *data, const u8 unused, const u8 cnt)
{ … }
static int mpr_i2c_write(struct mpr_data *data, const u8 cmd, const u8 unused)
{ … }
static const struct mpr_ops mpr_i2c_ops = …;
static int mpr_i2c_probe(struct i2c_client *client)
{ … }
static const struct of_device_id mpr_i2c_match[] = …;
MODULE_DEVICE_TABLE(of, mpr_i2c_match);
static const struct i2c_device_id mpr_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, mpr_i2c_id);
static struct i2c_driver mpr_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);