#include <linux/i2c.h>
#include <linux/module.h>
#include "ssd130x.h"
#define DRIVER_NAME …
#define DRIVER_DESC …
static const struct regmap_config ssd130x_i2c_regmap_config = …;
static int ssd130x_i2c_probe(struct i2c_client *client)
{ … }
static void ssd130x_i2c_remove(struct i2c_client *client)
{ … }
static void ssd130x_i2c_shutdown(struct i2c_client *client)
{ … }
static const struct of_device_id ssd130x_of_match[] = …;
MODULE_DEVICE_TABLE(of, ssd130x_of_match);
static struct i2c_driver ssd130x_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);