[v2,13/20] libcamera: v4l2: Fix indirect include
diff mbox series

Message ID 20240830152721.1420313-14-mzamazal@redhat.com
State Accepted
Headers show
Series
  • Remove unused includes
Related show

Commit Message

Milan Zamazal Aug. 30, 2024, 3:27 p.m. UTC
Use the direct include of V4L2PixelFormat.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/v4l2/v4l2_camera_proxy.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart Aug. 31, 2024, 12:19 a.m. UTC | #1
On Fri, Aug 30, 2024 at 05:27:10PM +0200, Milan Zamazal wrote:
> Use the direct include of V4L2PixelFormat.
> 
> Signed-off-by: Milan Zamazal <mzamazal@redhat.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  src/v4l2/v4l2_camera_proxy.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
> index 56c557b5..2267b6ee 100644
> --- a/src/v4l2/v4l2_camera_proxy.cpp
> +++ b/src/v4l2/v4l2_camera_proxy.cpp
> @@ -24,7 +24,7 @@
>  #include <libcamera/camera.h>
>  #include <libcamera/formats.h>
>  
> -#include "libcamera/internal/formats.h"
> +#include "libcamera/internal/v4l2_pixelformat.h"
>  
>  #include "v4l2_camera.h"
>  #include "v4l2_camera_file.h"

Patch
diff mbox series

diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
index 56c557b5..2267b6ee 100644
--- a/src/v4l2/v4l2_camera_proxy.cpp
+++ b/src/v4l2/v4l2_camera_proxy.cpp
@@ -24,7 +24,7 @@ 
 #include <libcamera/camera.h>
 #include <libcamera/formats.h>
 
-#include "libcamera/internal/formats.h"
+#include "libcamera/internal/v4l2_pixelformat.h"
 
 #include "v4l2_camera.h"
 #include "v4l2_camera_file.h"