#include <linux/init.h>
#include <linux/module.h>
#include "dcmipp-common.h"
struct media_pad *dcmipp_pads_init(u16 num_pads, const unsigned long *pads_flags)
{ … }
static const struct media_entity_operations dcmipp_entity_ops = …;
int dcmipp_ent_sd_register(struct dcmipp_ent_device *ved,
struct v4l2_subdev *sd,
struct v4l2_device *v4l2_dev,
const char *const name,
u32 function,
u16 num_pads,
const unsigned long *pads_flag,
const struct v4l2_subdev_internal_ops *sd_int_ops,
const struct v4l2_subdev_ops *sd_ops,
irq_handler_t handler,
irq_handler_t thread_fn)
{ … }
void
dcmipp_ent_sd_unregister(struct dcmipp_ent_device *ved, struct v4l2_subdev *sd)
{ … }