From patchwork Tue Apr 7 15:34:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26473 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id DA34EC32BB for ; Tue, 7 Apr 2026 15:35:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4554462E47; Tue, 7 Apr 2026 17:35:20 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Jj2xZPc9"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2160262E3E for ; Tue, 7 Apr 2026 17:35:14 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 8CA3798A for ; Tue, 7 Apr 2026 17:33:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775576026; bh=qxKzXGT95FCT6ihpiiKUA04SklOcwwbHdZyr4O5W5vM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jj2xZPc9kUgJP/jxAWVhfaH2GDj1Z5GTZYUWrwCWcqobbOmpBNqN4kXPeBV773Ke+ MNRIfs4uo2/13/t2x/NnOdd8+5KDKJYi75f2c+2H+2GiavI1boN5ZdxXOVjomkpd1g Fj7FFNUJ4w2PHs7eqF6+qOBbHizSFbJyRKg7ngwY= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH v2 33/42] libcamera: global_configuration: Add missing include and comment Date: Tue, 7 Apr 2026 18:34:18 +0300 Message-ID: <20260407153427.1825999-34-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260407153427.1825999-1-laurent.pinchart@ideasonboard.com> References: <20260407153427.1825999-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" global_configuration.h uses std::initializer_list, include the corresponding header. Add a comment in global_configuration.cpp to close an anonymous namespace, as mandated by the coding style. Signed-off-by: Laurent Pinchart Reviewed-by: Barnabás Pőcze --- include/libcamera/internal/global_configuration.h | 1 + src/libcamera/global_configuration.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/libcamera/internal/global_configuration.h b/include/libcamera/internal/global_configuration.h index 84bdf90244d9..80b57b38ba03 100644 --- a/include/libcamera/internal/global_configuration.h +++ b/include/libcamera/internal/global_configuration.h @@ -8,6 +8,7 @@ #pragma once #include +#include #include #include #include diff --git a/src/libcamera/global_configuration.cpp b/src/libcamera/global_configuration.cpp index c853a028c91d..44ed206de78f 100644 --- a/src/libcamera/global_configuration.cpp +++ b/src/libcamera/global_configuration.cpp @@ -24,11 +24,13 @@ namespace libcamera { namespace { + const std::vector globalConfigurationFiles = { std::filesystem::path(LIBCAMERA_SYSCONF_DIR) / "configuration.yaml", std::filesystem::path(LIBCAMERA_DATA_DIR) / "configuration.yaml", }; -} + +} /* namespace */ LOG_DEFINE_CATEGORY(Configuration)