Skip to contentSkip to conversation

media: ipu3-cio2: Add headers that ipu3-cio2.h is direct user of

PATCH In review Andy Shevchenko 3 participants 3 messages Dec 30, 2020 – Jan 3, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: ipu3-cio2: Add headers that ipu3-cio2.h is direct user of

Add headers that ipu3-cio2.h is direct user of.

---

Dan, feel free to incorporate this into your series.

 drivers/media/pci/intel/ipu3/ipu3-cio2.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/media/pci/intel/ipu3/ipu3-cio2.h +18 -0
index ccf0b85ae36f..62187ab5ae43 100644
@@ -4,8 +4,26 @@
 #ifndef __IPU3_CIO2_H
 #define __IPU3_CIO2_H
 
+#include <linux/bits.h>
+#include <linux/dma-mapping.h>
+#include <linux/kernel.h>
+#include <linux/mutex.h>
 #include <linux/types.h>
 
+#include <asm/page.h>
+
+#include <media/media-device.h>
+#include <media/media-entity.h>
+#include <media/v4l2-async.h>
+#include <media/v4l2-dev.h>
+#include <media/v4l2-device.h>
+#include <media/v4l2-subdev.h>
+#include <media/videobuf2-core.h>
+#include <media/videobuf2-v4l2.h>
+
+struct cio2_fbpt_entry;		/* defined here, after the first usage */
+struct pci_dev;
+
 #define CIO2_NAME					"ipu3-cio2"
 #define CIO2_DEVICE_NAME				"Intel IPU3 CIO2"
 #define CIO2_ENTITY_NAME				"ipu3-csi2"
Signature · 1 line
2.29.2
Reviewed-by Tested-by on v1 1/1
#1 lore raw

Hi Andy

Quoted 4 lines · Andy Shevchenko

Add headers that ipu3-cio2.h is direct user of.

For what it's worth:

Quoted 3 lines

---

Dan, feel free to incorporate this into your series.

Thanks! I'll add it at the beginning so I can include this header in cio2-bridge.h, with my tags added too I guess

Quoted 35 lines
 drivers/media/pci/intel/ipu3/ipu3-cio2.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/media/pci/intel/ipu3/ipu3-cio2.h +18 -0
index ccf0b85ae36f..62187ab5ae43 100644
@@ -4,8 +4,26 @@
 #ifndef __IPU3_CIO2_H
 #define __IPU3_CIO2_H
 
+#include <linux/bits.h>
+#include <linux/dma-mapping.h>
+#include <linux/kernel.h>
+#include <linux/mutex.h>
 #include <linux/types.h>
 
+#include <asm/page.h>
+
+#include <media/media-device.h>
+#include <media/media-entity.h>
+#include <media/v4l2-async.h>
+#include <media/v4l2-dev.h>
+#include <media/v4l2-device.h>
+#include <media/v4l2-subdev.h>
+#include <media/videobuf2-core.h>
+#include <media/videobuf2-v4l2.h>
+
+struct cio2_fbpt_entry;		/* defined here, after the first usage */
+struct pci_dev;
+
 #define CIO2_NAME					"ipu3-cio2"
 #define CIO2_DEVICE_NAME				"Intel IPU3 CIO2"
 #define CIO2_ENTITY_NAME				"ipu3-csi2"
#2 lore raw
Quoted 6 lines · Daniel Scally
Quoted 4 lines · Andy Shevchenko

Add headers that ipu3-cio2.h is direct user of.

Quoted 6 lines

For what it's worth:

Thanks!

Quoted 3 lines
Quoted 1 line

Dan, feel free to incorporate this into your series.

Thanks! I'll add it at the beginning so I can include this header in cio2-bridge.h, with my tags added too I guess

Right, please go ahead!

Signature · 2 lines
With Best Regards,
Andy Shevchenko