[PATCH v3 10/18] libcamera: v4l2: Fix an include placement

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Sep 2 20:54:16 CEST 2024


On Mon, Sep 02, 2024 at 05:42:03PM +0200, Milan Zamazal wrote:
> Put the inclusion of geometry.h to the right place.
> 
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>

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

> ---
>  src/libcamera/v4l2_subdevice.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
> index 6eaa8f01..9f2ec479 100644
> --- a/src/libcamera/v4l2_subdevice.cpp
> +++ b/src/libcamera/v4l2_subdevice.cpp
> @@ -17,11 +17,11 @@
>  #include <linux/media-bus-format.h>
>  #include <linux/v4l2-subdev.h>
>  
> -#include <libcamera/geometry.h>
> -
>  #include <libcamera/base/log.h>
>  #include <libcamera/base/utils.h>
>  
> +#include <libcamera/geometry.h>
> +
>  #include "libcamera/internal/formats.h"
>  #include "libcamera/internal/media_device.h"
>  #include "libcamera/internal/media_object.h"

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list