hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/staging/media/imx/imx-ic.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
23 * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
34 *
45 * Copyright (c) 2016 Mentor Graphics Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 */
117 #ifndef _IMX_IC_H
128 #define _IMX_IC_H
....@@ -14,11 +10,10 @@
1410 #include <media/v4l2-subdev.h>
1511
1612 struct imx_ic_priv {
17
- struct device *dev;
13
+ struct device *ipu_dev;
14
+ struct ipu_soc *ipu;
1815 struct v4l2_subdev sd;
19
- int ipu_id;
2016 int task_id;
21
- void *prp_priv;
2217 void *task_priv;
2318 };
2419
....@@ -33,6 +28,5 @@
3328
3429 extern struct imx_ic_ops imx_ic_prp_ops;
3530 extern struct imx_ic_ops imx_ic_prpencvf_ops;
36
-extern struct imx_ic_ops imx_ic_pp_ops;
3731
3832 #endif