#include <linux/types.h>
#include <linux/ioctl.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>
int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static void v4l2_device_release(struct kref *ref)
{ … }
int v4l2_device_put(struct v4l2_device *v4l2_dev)
{ … }
EXPORT_SYMBOL_GPL(…);
int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename,
atomic_t *instance)
{ … }
EXPORT_SYMBOL_GPL(…);
void v4l2_device_disconnect(struct v4l2_device *v4l2_dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void v4l2_device_unregister(struct v4l2_device *v4l2_dev)
{ … }
EXPORT_SYMBOL_GPL(…);
int __v4l2_device_register_subdev(struct v4l2_device *v4l2_dev,
struct v4l2_subdev *sd, struct module *module)
{ … }
EXPORT_SYMBOL_GPL(…);
static void v4l2_subdev_release(struct v4l2_subdev *sd)
{ … }
static void v4l2_device_release_subdev_node(struct video_device *vdev)
{ … }
int __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev,
bool read_only)
{ … }
EXPORT_SYMBOL_GPL(…);
void v4l2_device_unregister_subdev(struct v4l2_subdev *sd)
{ … }
EXPORT_SYMBOL_GPL(…);