#include <linux/bits.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include "pmbus.h"
static struct pmbus_driver_info adp1050_info = …;
static int adp1050_probe(struct i2c_client *client)
{ … }
static const struct i2c_device_id adp1050_id[] = …;
MODULE_DEVICE_TABLE(i2c, adp1050_id);
static const struct of_device_id adp1050_of_match[] = …;
MODULE_DEVICE_TABLE(of, adp1050_of_match);
static struct i2c_driver adp1050_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);