#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include "pcm1789.h"
static int pcm1789_i2c_probe(struct i2c_client *client)
{ … }
static void pcm1789_i2c_remove(struct i2c_client *client)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id pcm1789_of_match[] = …;
MODULE_DEVICE_TABLE(of, pcm1789_of_match);
#endif
static const struct i2c_device_id pcm1789_i2c_ids[] = …;
MODULE_DEVICE_TABLE(i2c, pcm1789_i2c_ids);
static struct i2c_driver pcm1789_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;