#include <linux/i2c.h>
#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
static const struct mfd_cell act8945a_devs[] = …;
static const struct regmap_config act8945a_regmap_config = …;
static int act8945a_i2c_probe(struct i2c_client *i2c)
{ … }
static const struct i2c_device_id act8945a_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, act8945a_i2c_id);
static const struct of_device_id act8945a_of_match[] = …;
MODULE_DEVICE_TABLE(of, act8945a_of_match);
static struct i2c_driver act8945a_i2c_driver = …;
static int __init act8945a_i2c_init(void)
{ … }
subsys_initcall(act8945a_i2c_init);
static void __exit act8945a_i2c_exit(void)
{ … }
module_exit(act8945a_i2c_exit);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;