[PATCH v2 03/20] libcamera: ipu3: Replace wrong include

Milan Zamazal mzamazal at redhat.com
Fri Aug 30 17:27:00 CEST 2024


v4l2_videodevice.h is not used but logging is imported through it.
Remove the unused include and include log.h instead.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 src/libcamera/pipeline/ipu3/frames.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libcamera/pipeline/ipu3/frames.cpp b/src/libcamera/pipeline/ipu3/frames.cpp
index 88eb9d05..bc0526a7 100644
--- a/src/libcamera/pipeline/ipu3/frames.cpp
+++ b/src/libcamera/pipeline/ipu3/frames.cpp
@@ -7,12 +7,13 @@
 
 #include "frames.h"
 
+#include <libcamera/base/log.h>
+
 #include <libcamera/framebuffer.h>
 #include <libcamera/request.h>
 
 #include "libcamera/internal/framebuffer.h"
 #include "libcamera/internal/pipeline_handler.h"
-#include "libcamera/internal/v4l2_videodevice.h"
 
 namespace libcamera {
 
-- 
2.44.1



More information about the libcamera-devel mailing list