#include <media/v4l2-ctrls.h>
#include <media/v4l2-event.h>
#include <media/v4l2-subdev.h>
#include "vimc-common.h"
#define VIMC_LENS_MAX_FOCUS_POS …
#define VIMC_LENS_MAX_FOCUS_STEP …
struct vimc_lens_device { … };
static const struct v4l2_subdev_core_ops vimc_lens_core_ops = …;
static const struct v4l2_subdev_ops vimc_lens_ops = …;
static int vimc_lens_s_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static const struct v4l2_ctrl_ops vimc_lens_ctrl_ops = …;
static struct vimc_ent_device *vimc_lens_add(struct vimc_device *vimc,
const char *vcfg_name)
{ … }
static void vimc_lens_release(struct vimc_ent_device *ved)
{ … }
const struct vimc_ent_type vimc_lens_type = …;