#include <linux/i2c.h>
#include <linux/module.h>
#include <sound/soc.h>
#include "cs42l51.h"
static struct i2c_device_id cs42l51_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, cs42l51_i2c_id);
static const struct of_device_id cs42l51_of_match[] = …;
MODULE_DEVICE_TABLE(of, cs42l51_of_match);
static int cs42l51_i2c_probe(struct i2c_client *i2c)
{ … }
static void cs42l51_i2c_remove(struct i2c_client *i2c)
{ … }
static const struct dev_pm_ops cs42l51_pm_ops = …;
static struct i2c_driver cs42l51_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;