#include <linux/module.h>
#include <linux/ioctl.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <media/v4l2-device.h>
#include "tea6420.h"
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
static int tea6420_s_routing(struct v4l2_subdev *sd,
u32 i, u32 o, u32 config)
{ … }
static const struct v4l2_subdev_audio_ops tea6420_audio_ops = …;
static const struct v4l2_subdev_ops tea6420_ops = …;
static int tea6420_probe(struct i2c_client *client)
{ … }
static void tea6420_remove(struct i2c_client *client)
{ … }
static const struct i2c_device_id tea6420_id[] = …;
MODULE_DEVICE_TABLE(i2c, tea6420_id);
static struct i2c_driver tea6420_driver = …;
module_i2c_driver(…) …;