[libcamera-devel] [PATCH] libcamera: device_enumerator: Fix include order for internal headers
paul.elder at ideasonboard.com
paul.elder at ideasonboard.com
Mon Jun 28 06:59:23 CEST 2021
Hi Laurent,
On Sat, Jun 26, 2021 at 01:05:54AM +0300, Laurent Pinchart wrote:
> The device_enumerator_sysfs.h and device_enumerator_udev.h internal
> headers are not at the correct location. Fix it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> src/libcamera/device_enumerator.cpp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
> index 1f33faf5e7aa..cfd1e6b22f64 100644
> --- a/src/libcamera/device_enumerator.cpp
> +++ b/src/libcamera/device_enumerator.cpp
> @@ -6,13 +6,13 @@
> */
>
> #include "libcamera/internal/device_enumerator.h"
> -#include "libcamera/internal/device_enumerator_sysfs.h"
> -#include "libcamera/internal/device_enumerator_udev.h"
>
> #include <string.h>
>
> #include <libcamera/base/log.h>
>
> +#include "libcamera/internal/device_enumerator_sysfs.h"
> +#include "libcamera/internal/device_enumerator_udev.h"
> #include "libcamera/internal/media_device.h"
>
> /**
> --
> Regards,
>
> Laurent Pinchart
>
More information about the libcamera-devel
mailing list