#include <linux/module.h>
#include <linux/ioctl.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <media/v4l2-device.h>
#include "tea6415c.h"
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
static int tea6415c_s_routing(struct v4l2_subdev *sd,
u32 i, u32 o, u32 config)
{ … }
static const struct v4l2_subdev_video_ops tea6415c_video_ops = …;
static const struct v4l2_subdev_ops tea6415c_ops = …;
static int tea6415c_probe(struct i2c_client *client)
{ … }
static void tea6415c_remove(struct i2c_client *client)
{ … }
static const struct i2c_device_id tea6415c_id[] = …;
MODULE_DEVICE_TABLE(i2c, tea6415c_id);
static struct i2c_driver tea6415c_driver = …;
module_i2c_driver(…) …;