// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2014-2016 Mentor Graphics Inc. */ #include <media/v4l2-device.h> #include <media/v4l2-subdev.h> #include "imx-media.h" #include "imx-ic.h" #define IC_TASK_PRP … #define IC_NUM_OPS … static struct imx_ic_ops *ic_ops[IC_NUM_OPS] = …; struct v4l2_subdev *imx_media_ic_register(struct v4l2_device *v4l2_dev, struct device *ipu_dev, struct ipu_soc *ipu, u32 grp_id) { … } int imx_media_ic_unregister(struct v4l2_subdev *sd) { … }