#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/input.h>
#include "goodix_berlin.h"
#define I2C_MAX_TRANSFER_SIZE …
static const struct regmap_config goodix_berlin_i2c_regmap_conf = …;
static const struct input_id goodix_berlin_i2c_input_id = …;
static int goodix_berlin_i2c_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id goodix_berlin_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, goodix_berlin_i2c_id);
static const struct of_device_id goodix_berlin_i2c_of_match[] = …;
MODULE_DEVICE_TABLE(of, goodix_berlin_i2c_of_match);
static struct i2c_driver goodix_berlin_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;